Promote build when... option not shown in job config

342 views
Skip to first unread message

Chris White

unread,
Dec 5, 2017, 4:59:31 PM12/5/17
to Jenkins Users
Are there any requirements on a job for when the 'Promote build when...' is shown / hidden for a job in Jenkins?

I have the plugin installed (2.31), Jenkins has been restarted but for my given job (a pipeline scm job) i don't see the option to configure the promotion process in the job configuration page (I do see an option for 'Build when another project is promoted').

I'm must be missing something obvious, any clues on where to look?

Thanks

Stephen Connolly

unread,
Dec 6, 2017, 2:59:04 AM12/6/17
to jenkins...@googlegroups.com
On Tue 5 Dec 2017 at 21:59, Chris White <chrisw...@gmail.com> wrote:
Are there any requirements on a job for when the 'Promote build when...' is shown / hidden for a job in Jenkins?

I have the plugin installed (2.31), Jenkins has been restarted but for my given job (a pipeline scm job)

Pipeline does not currently support promotion, so you will not see the option to configure. (Though I wonder if the Jenkinsfile had a properties step could it maybe work - this would depend on the base class the promotion plugin assumes jobs extend from as pipeline doesn’t extent from as deep in the hierarchy as all other jobs)

I don’t know if adding support for promotion if pipelines is on the roadmap for the promotion plugin

i don't see the option to configure the promotion process in the job configuration page (I do see an option for 'Build when another project is promoted').

I'm must be missing something obvious, any clues on where to look?

Thanks

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2ac96121-18d9-41c4-a1ef-8a941bca3014%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from my phone

Chris White

unread,
Dec 6, 2017, 12:24:38 PM12/6/17
to Jenkins Users
I see, how frustrating - isn't pipelines meant to be where Jenkins is encouraging people to move towards - 'Pipelines as code'

For future reference for people finding this:

Reply all
Reply to author
Forward
0 new messages