Accessing $CHANGES from prior build job for email

29 views
Skip to first unread message

Dave R

unread,
May 15, 2015, 10:21:16 AM5/15/15
to jenkins...@googlegroups.com
I have two projects - one for a build followed by a deployment project in a delivery pipeline.

In the deployment project I would like to send an email (email-ext) but when I use the $CHANGES macro to generate my list of changes it comes from the deployment project and not the prior build project.  I would like to get the list of version control changes in my deployment email in this second project in the pipeline.

Does anyone have any way to accomplish this task?


Thanks,

Dave

Antonio Hernandez

unread,
Jun 21, 2016, 9:03:38 AM6/21/16
to Jenkins Users
I'm exacty stuck in the same issue....

Please , somebody helps us!

Thanks all folks

Slide

unread,
Jun 21, 2016, 9:44:17 AM6/21/16
to Jenkins Users

You would have to do this using a groovy or jelly template, I highly recommend groovy over jelly. You would need to write the code to get at the build project and then get the scm changes and process them into the format you want. There is not out of the box way to do it.


--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bb0d2b71-580a-4383-98c6-9536c4245803%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages