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 
parameters. Once first build triggered without parameter, it can be 
parameterized from the second build. 

On Sunday, July 2, 2017 at 8:04:47 PM UTC+5:30, colourmeamused wrote:
>
> 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 <JENKINS URL>/pipeline-syntax and generate code for the 
> properties step.
>
> how to configure parameterized option in Jenkins multibranch pipeline 
> project from website
>
> You cannot. If you are using Jenkinsfile and multibranch pipeline you have 
> to set *all *properties including parameters in the Jenkinsfile using the 
> *properties* step. I think by *website* you mean the configuration page 
> at <JOB URL>/configure. For multibranch pipelines, this page is effectively 
> *read 
> only. *Unfortunately this isn't very clear from the UI.
>
> If it's just a matter of adding parameters, just use the syntax generator 
> and copy the code into your Jenkinsfile.
>
>
> <https://lh3.googleusercontent.com/-59CXu9TJ1UE/WVkEXuEHjjI/AAAAAAAAO2o/mL-CYIptvUcbRWtcJv9Pr5DN4riIbGT8ACLcBGAs/s1600/Screen%2BShot%2B2017-07-03%2Bat%2B00.33.38.png>
>
>
>
>
>
>
> On Saturday, June 24, 2017 at 12:22:22 PM UTC+10, ajith arthur wrote:
>>
>> 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 configure parameterized option in Jenkins 
>> multibranch pipeline project from website, not from Jenkinsfile?
>>
>>  
>>
>> Please refer the below report for further details.
>>
>>  
>>
>> https://issues.jenkins-ci.org/browse/JENKINS-45102
>>
>>  
>>
>> Regards,
>>
>> Ajith R
>>
>

-- 
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/57761515-0f7d-40d5-9387-a509be3e146d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to