Yes, kind of...

The parameters are hidden in the "properties" structure. They will be applied to the job when it runs, meaning that the first run will not have these parameters defined. If you make your Jenkinsfile robust for undefined parameters, it should be doable, just remember that they will apply to the second build.

/Jacob


On 2017-08-03 04:03, Craig Barr wrote:
In Jenkins you can select "This project is parameterized" and add parameters. My question is simple: Can this parameter metadata be populated by an alternative version-controlled source?

For example, can I define parameter definitions in my Jenkinsfile so that when I click Build Now it will populate the parameters from this source? If this is not possible, are they any other suggestions for addressing such a requirement?

Thanks!

_Oracle Excellence Award Specialized Partner of the Year: Middleware, Asia Pacific <http://www.rubiconred.com/oracle-excellence-award-specialized-partner-of-the-year-middleware-asia-pacific/>_



Rubicon Red Privacy Policy <http://www.rubiconred.com/privacy-policy-2/>

--
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 <mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/eb7dca33-81d0-4b35-9045-0ab521327109%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/eb7dca33-81d0-4b35-9045-0ab521327109%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ef2112a4-a9a0-36be-c420-b3a5d674acb7%40larsen.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to