In the groovy template you would need to get a variable resolved from
the build instance, then you can resolve your parameters.

Sent from my Windows Phone
From: mickeys
Sent: 11/29/2012 4:12 AM
To: jenkinsci-users@googlegroups.com
Subject: Email Ext plugin with parameterized booelans
I have a quesiton regarding the email ext plugin.

I have setup a groovy script where I would like to send out an email BEFORE
a build starts with some diffrent values.

For example I have four parameterized booleans: A B C and D and I would like
to read out this from the groovy script that email ext is using. Is that
possible?

In default content for email ext I have this:
${SCRIPT,template="groovy-html.template"} and then inside the
groovy-html.template I would like to be able to read out the booleans A B C
and D. Is that possible? If YES how?


Also is there a way to get out the Source Code Management project path?


Hope to get some answers because I have tried this for a couple of days now
and cant really figure it out.




--
View this message in context:
http://jenkins.361315.n4.nabble.com/Email-Ext-plugin-with-parameterized-booelans-tp4647626.html
Sent from the Jenkins users mailing list archive at Nabble.com.

Reply via email to