Hello,

You can also use the token macro plugin to do such things:
https://wiki.jenkins-ci.org/display/JENKINS/Token+Macro+Plugin

-- Adrien

Le dim. 31 mai 2015 20:29, Daniel Beck <[email protected]> a écrit :

>
> On 30.05.2015, at 17:41, [email protected] wrote:
>
> > Does the Jenkins API provide a better solution that would allow my
> plugin to substitute a variable with a real value when the build job is
> executed?
>
>
> http://javadoc.jenkins-ci.org/hudson/EnvVars.html#expand%28java.lang.String%29
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" 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-dev/EA1537DF-CAEF-409F-8F07-36186DCB1535%40beckweb.net
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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-dev/CAKwJSvwH45bpTSrzHkba_Oi6Qy%2BM2SMx0t3CyotrnTH71h%2BfWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to