Yes. You can get the variables e.g. from the current build: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/Run.java#L2207 <https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/Run.java#L2207>
> Am 29.10.2015 um 10:52 schrieb Thilina Madhusanka <[email protected]>: > > Hi > > Is there a way to access jenkins env variables via a plugin ? > > take input like ${BUILD_NUMBER} to a plugin via test input box? > > thanks > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/535f94c2-85c1-46b3-9cf4-6a7054a05146%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-dev/535f94c2-85c1-46b3-9cf4-6a7054a05146%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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/59DBFC2F-DD2A-4D89-B0C4-69DCD4ABD854%40gmail.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Message signed with OpenPGP using GPGMail
