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]
    <javascript:>> wrote:
    >
    > Any ideas?

    https://github.com/daniel-beck/changelog-environment-plugin
    <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
    <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] <mailto:[email protected]>. 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] <mailto:[email protected]>
http://www.cd-adapco.com <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/33e9f711-146a-e5cf-515e-191a863d0319%40cd-adapco.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to