There is also a ${CHANGES} content token, but you can't use it directly in
a Jelly script, you would have to retrieve the changes yourself.On Wed, May 15, 2013 at 4:24 AM, lata <[email protected]> wrote: > syntax for variables: > ${ENV, var="CHANGES"} where CHANGES is your var name. > > jelly scripts can be used v2.9 and above, what version of email-ext is > yours? > > On Wednesday, May 15, 2013 5:09:48 AM UTC+5:30, David Brossard wrote: >> >> >> I have tried to add email notifications into Jenkins but I have been >> unable to get anything other than the default variables to work. I have >> tried adding >> $CHANGES >> ${CHANGES} >> and both show nothing in the email. >> I have tried adding the example: ${JELLY_SCRIPT,template=”html”**} >> but it just shows literally ${JELLY_SCRIPT,template=”html”**} in the >> email. >> Can someone please help me get the syntax correct? Ihave included a >> screen shot of my config. Here is an example email output from the that >> config. Notice no changes show up and the literal Jelly string. >> >> DEV-Build and Deploy - Build # 208 - Successful: Check console output at >> http://myserver:8080/job/DEV-**Build%20and%20Deploy/208/<http://myserver:8080/job/DEV-Build%20and%20Deploy/208/>to >> view the results. ${JELLY_SCRIPT,template=”html” >> **} >> >> >> >> >> <https://lh3.googleusercontent.com/-sWbXsXVw8Xk/UZLK360FH6I/AAAAAAAAAB4/A9tPEcrKx0w/s1600/snap.png> >> > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Website: http://earl-of-code.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]. For more options, visit https://groups.google.com/groups/opt_out.
