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 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 too. > > If it allows to build at branch initialization alone, then I can trigger > further builds with parameters from webhook. > > On Jul 3, 2017 11:13 PM, "Lee Meador" <[email protected] <javascript:>> > wrote: > >> 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 build settings including some in the UI. >> >> On Mon, Jul 3, 2017 at 11:40 AM, ajith arthur <[email protected] >> <javascript:>> wrote: >> >>> 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] <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-users/57761515-0f7d-40d5-9387-a509be3e146d%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/jenkinsci-users/57761515-0f7d-40d5-9387-a509be3e146d%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> -- Lee Meador >> Sent from gmail. My real email address is lee AT leemeador.com >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Jenkins Users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/jenkinsci-users/XqaCMb4Hjyk/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/CAA4vtDRYmmv8cAJ8g%3DHStCFHtwtTTEUXX3m3k4C%3DuxUCqVpEoQ%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/CAA4vtDRYmmv8cAJ8g%3DHStCFHtwtTTEUXX3m3k4C%3DuxUCqVpEoQ%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/df6e8511-ca97-4f11-b0f1-b1345fd4ae4e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
