I've been looking into multibranch pipeline and I'm wondering, can it be configured to support build parameters to specify which branches will be built?I know the branch config can be setup with a regex to specify that certain branches will be built, but it means that the same branches will be built every time. I want whoever kicks off the job to be able to specify that only particular branches will build at different times.
--Thanks,Guy
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/CANNH9msUkO1_Z3dF22%3D28qwToq%2BzfiNqcoe5ShHHfbVzN38G1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
I do not get your point, Multibranch pipeline creates a new job for each branch that match with the criteria you specify, so you have a job for every branch, I do not understand what do you mean with ’ I want whoever kicks off the job to be able to specify that only particular branches will build at different time’ maybe you can do do it with the ’when’ directive https://jenkins.io/doc/book/pipeline/syntax/#when
--
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/1ae42c9f-7845-4511-8cf5-d554b66cdcb5%40googlegroups.com.
Finally, if your problem is the logic that you use to trigger scheduled build I would suggest to use a regular pipeline job to make the logic and the build step to trigger the job that you want