Re: List of git branches using Jenkinsfile parameters

2018-02-20 Thread derek . gibson
I want to selectively build branches. So anything that is committed to master is built automatically, but in order to build a specific branch a user has to run "build with parameters" and choose the branch to build As for the pipeline job, yes with jenkins groovy dsl. All the parameters are def

Re: List of git branches using Jenkinsfile parameters

2018-02-18 Thread derek . gibson
Hmm, I was wondering that myself, but the pipeline job can run and populate the parameter list at runtime, so I was wondering if/hoping the multibranch can do the same On Monday, 19 February 2018 15:14:17 UTC+11, ok999 wrote: > > I dont have much experience with multi branch job types. Nonethele

Re: List of git branches using Jenkinsfile parameters

2018-02-18 Thread derek . gibson
Correct. If I choose to "Build with parameters" I want a Branch parameter to list all the branches of that jobs repository, but defined in a Jenkinsfile as a multibranch pipeline On Monday, 19 February 2018 14:39:07 UTC+11, ok999 wrote: > > Not sure, if i am following this requirement. Am I unde

List of git branches using Jenkinsfile parameters

2018-02-18 Thread derek . gibson
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

apols if double posted

2018-02-18 Thread Derek Gibson
I sent a topic via email, didnt see it appear in groups, sent it again via groups then saw the message that it will appear after approval. didnt know about that, so sorry if dbl post! -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubsc