On Tue, Jun 11, 2019 at 1:47 PM Guy Knights <[email protected]> wrote:

> 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.
>

I'm not sure if this is what you're looking for, but a multibranch pipeline
can be specifically fired for a particular branch, with a url like this:

    http://host:port
/jenkins/job/<folder>/job/<folder>/job/${PULL_REQUEST_TO_BRANCH}/buildWithParameters?...


> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CANNH9msUkO1_Z3dF22%3D28qwToq%2BzfiNqcoe5ShHHfbVzN38G1A%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CANNH9msUkO1_Z3dF22%3D28qwToq%2BzfiNqcoe5ShHHfbVzN38G1A%40mail.gmail.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VrKE9u-6WbRQGG13ijBmv3KA%3D-uMbWOHNrT9LcLe91O2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to