Hi Chris,
I have solve this issue after got the same message from
slide. Below is the result .
I'm using the slide's script to find out the upstream build
then refine the original groovy template if the build has upstream build .
def changeSet = null
changeSet = build.changeSet
if(upstreamBuild != null) {
// now do stuff with that upstream build
changeSet = upstreamBuild.changeSet
}
michael chiu於 2012年7月23日星期一UTC+8下午7時52分19秒寫道:
>
> Hi ALL,
> I found many article from you about jenkins email-ext . Can you
> give me some advice about upstream changeset .
> I have 2 projects build and test . I would like to include
> upstream changeset info when downstream is failed in the email
> notification
> .
> I have used the groovy temple [${SCRIPT,
> template="groovy-html.template"}]in email-ext.
> Any advice will be appreciated.
>
> Mchiu
>