I was able to do this with the Environment Inject plugin (https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin)
You could for example set The BUILD_OUTPUT variable that way and then reference in the template as $BUILD_OUTPUT Endlines are a bit tricky: To get an endline you should do it like this: BUILDOUTPUT = foo/ / bar Notice the double endline: in jenkins this will appear as a single endline -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Gerrit-trigger-custom-comments-for-verification-on-Gerrit-tp4672968p4687793.html Sent from the Jenkins users mailing list archive at Nabble.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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.