It's a good idea, but such a long winded way and it's also restricts to GIT 
- right now we're using Git and Perforce (far from good situation) but I'm 
surprised to see that there isn't a built in variable for that...

On Wednesday, 21 December 2016 14:48:58 UTC, Eric Pyle wrote:
>
> If possible, you could save the sha1 as an artifact with each build, and 
> have your pipeline code retrieve it. Then query git in your new build to 
> see whether the current sha1 is different (like 'git rev-parse HEAD').
>
> Eric
>
> On 12/21/2016 9:10 AM, 'Peter Teichner' via Jenkins Users wrote:
>
> Thanks for this - it's not 100% what I'm looking for, but it's close to 
> it. Unfortunately I'm not in a position to install "unreleased" plugins and 
> I think it might not work in the pipeline as code... :/
>
> On Wednesday, 21 December 2016 13:56:00 UTC, Daniel Beck wrote: 
>>
>>
>> > On 21.12.2016, at 13:11, Peter Teichner <[email protected]> 
>> wrote: 
>> > 
>> > Any ideas? 
>>
>> https://github.com/daniel-beck/changelog-environment-plugin could 
>> probably do this. Haven't gotten around to actually releasing this 
>> unfortunately. 
>>
>> Related discussion in https://issues.jenkins-ci.org/browse/JENKINS-12032 
>>
>> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/00bdf867-6ee2-457a-bc14-bd7daa31b4de%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/00bdf867-6ee2-457a-bc14-bd7daa31b4de%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
>
> * Eric Pyle * 
> Release Engineer 
> Lebanon 
> +1 603-277-3060 (T)
> +1 603-359-8670 (M)
> [email protected] <javascript:>
> http://www.cd-adapco.com 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/73a3df49-1f86-48ff-a644-810dad43c2e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to