Try ${ENV, var="subject"}
On Wed, Sep 26, 2012 at 7:24 PM, Tom80112 <[email protected]> wrote:
> I loaded the EnvInject plugin and tried that before posting here.
>
> Inside the shell script section, I set a variable called "subject" to to a
> different
> text string depending on outcomes within the shell script section.
>
> I then did a printf "subject=$subject\n" >tmp.env
>
> I then specified tmp.env on the first line of the EnvInject. This is all I
> did for the EnvInject block. Did I need to fill in anything else?
>
> I then used "editable email" and placed $subject in the subject line.
> The email came in with a subject line of: $subject (not evaluated)
>
>
>
>
>
> --
> View this message in context:
> http://jenkins.361315.n4.nabble.com/Using-variables-within-the-Jenkins-email-subject-lines-tp4641373p4641525.html
> Sent from the Jenkins users mailing list archive at Nabble.com.
--
Website: http://earl-of-code.com