Re: Parameterized option in multibranch pipeline job

2018-12-23 Thread ZillaYT
Is there a fix for the disappearing "Build with parameters" link on a multi-branch pipeline? In my case, when a job fails, I see the link but when a job succeeds, the link disappears. On Monday, July 3, 2017 at 2:26:13 PM UTC-4, Ajith David wrote: > > Okay, so I have to run the first build witho

Re: Parameterized option in multibranch pipeline job

2017-07-03 Thread ajith arthur
Okay, so I have to run the first build without parameter. Is there any option to trigger the build without parameter at branch initialization alone? I have set suppress automatic scm trigger in my multibranch pipeline settings for all branches. So it doesn't trigger the build for branch creation t

Re: Parameterized option in multibranch pipeline job

2017-07-03 Thread Lee Meador
Yep. That's how it works. Remember, the script can't set anything before it runs. When it runs, it builds. That's why lines of code in the script have no effect before you do a build. And changes to a script have no effect before you build. The effect of a properties statement is to change the buil

Re: Parameterized option in multibranch pipeline job

2017-07-03 Thread ajith arthur
Thanks for the reply. I know, I already configured the parameters via properties of jenkinsfile. The problem is, its not get parameterized for the very first build. I suppress all branch scm trigger and I am manually triggering the builds from webhook, so I can't pass the first build with param

Re: Parameterized option in multibranch pipeline job

2017-07-02 Thread Abir M
I am not sure I quire understand but: If you want to add new parameters you *have* to do it using *properties* in Jenkinsfile - goto /pipeline-syntax and generate code for the properties step. how to configure parameterized option in Jenkins multibranch pipeline project from website You canno

Re: Parameterized option in multibranch pipeline job

2017-06-28 Thread Lee Meador
Since the multibranch pipeline job creates sub-jobs for each branch, there is no place to set the options for those generated jobs except the Jenkinsfile. Jenkins creates the sub-jobs when the multibranch pipeline job runs (on its schedule or whatever as configured). It starts any new ones buildin

Parameterized option in multibranch pipeline job

2017-06-23 Thread ajith arthur
Hi Guys, I have a Jenkins multibranch pipeline job, which always configure build without parameter at branch initialization, but I need to configure the branches as build with parameter. We can use *properties* to configure the parameters in a Jenkinsfile, but my question is how to con