Not sure, if i am following this requirement. Am I understanding it right, if you want to list the remote branches of a repository on jenkins job as a parameters?
On Mon, Feb 19, 2018 at 8:43 AM <[email protected]> wrote: > What I want to be able to do - > > Have a Jenkinsfile that will automatically build a git master branch if > triggered automatically on commit but prompt the user to select from a > branch if run manually > > Selecting the master if triggered automatically is no problem using > parameter default value, but I cannot for the life of me figure out a way > to populate the branch parameter > > I've looked for a way to use the Git parameters plugin but while there is > plenty of examples on how to use it though the gui with a pipeline script, > I cant find any documentation or examples on how to use it with > multibranch/Jenkinsfile using code > > can anyone help with the above, or any other method? > > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/1995eb74-988c-4fb2-b972-f849771769c2%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/1995eb74-988c-4fb2-b972-f849771769c2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Sent from mobile device, excuse typos if any. -- 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/CAPzcO4iTm2_BSsu6T4_LJhT5FwTNnP%2B4QQwE-R3jvs-bDgQ-Gw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
