Promoted Build Parameter Usage

255 views
Skip to first unread message

Trey Duskin

unread,
Aug 7, 2014, 7:01:19 PM8/7/14
to jenkins...@googlegroups.com
Hello,

I am trying to use the Promoted Builds Plugin to help me select builds to deploy to environments.  I have set up a Build Job which will build the software, and set up a "Promote build when..." rule on this build which I set up for manual approval.  I have a separate Deploy Job which I set as being Parameterized, using a Promoted Build Parameter which is configured to use the Build Job as the 'Job Name', and I am able to select the Approval I set up on the build job in the drop down.

However, when I go to 'Build Now with parameters' for the Deploy Job after manually promoting a build on the Build Job, the parameter is shown on the "This build requires parameters" screen as an empty drop down, and I cannot select the build I want to deploy.  I think I might be mis-understanding what the Promoted Build Parameter is supposed to do... for example, how am I supposed to use this parameter in the Deploy Job build configuration to access the Build Job's promoted build parameters?  The help text is not very helpful here... or I may just not understand it.  Can anyone enlighten me on this?

Thanks,
Trey

Marky Jackson

unread,
Aug 7, 2014, 7:07:30 PM8/7/14
to jenkins...@googlegroups.com
Have you created a build dependency?

Sent from my iPhone
--
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-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Trey Duskin

unread,
Aug 7, 2014, 9:37:08 PM8/7/14
to jenkins...@googlegroups.com

I have not, other than by using the Promoted Build Parameter function.  Is there a specific way I should make a dependency?  I have many options... And I don't necessarily want this deploy job to run automatically... I want the promotion step to act as my "gate" to deploy, but I'd like the option to choose what to deploy from among the promotes builds.

You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/wxnhgZFDbdk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages