rooturl and build are variables that are put into the binding for the Jelly and Groovy templating. They can't be used directly.
On Mon, Oct 17, 2016 at 6:34 AM <[email protected]> wrote: > Hi, Sam I was just wondering if the FILE type could use the token > replacement like the follwoing: > > <a href="${rooturl}${build.url}">Jenkins project</a> > > into the email body. I tested it on my side just out of curiosity and it > does not make the token replacement as of writting this. > > For those who need it: > '${JELLY_SCRIPT,template="/tmp/test.jelly"}' for Jelly template > or > '${SCRIPT,template="/tmp/test.template"}' for groovy template > > -- > 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/6c33bdf1-5f89-48fe-8fec-64297e85fd65%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/6c33bdf1-5f89-48fe-8fec-64297e85fd65%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPiUgVcayMP0JEJryEzDEy%2B_2sxR98Z%2B7jnf%3DP_3-XfcM3QrHg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
