I'm almost sure you would have done this but just documenting it in here. You need to save the pipeline config page after adding the new parameter for the template to recognise that.
Also, Does changing the Config XML directly help? I'll let the GoCD team comment on if there are any known bugs / issues in that specific release. On Fri, Jan 25, 2019 at 7:54 AM Ras <[email protected]> wrote: > Hi, i tried the reload page but nothing changed. > > I am using 18.9.0 , is there any bug in this release ? > > 25 Ocak 2019 Cuma 05:00:52 UTC+3 tarihinde Ashwanth Kumar yazdı: >> >> Ras, are you working on both the template and the pipeline simultaneously >> on different tabs? If yes, then after adding the parameter in the pipeline, >> try refreshing the tab where you've the template page. GoCD doesn't >> auto-sync the pipeline / configuration automatically across windows in a >> browser. They're loaded on page load and the validations are done based on >> that. >> >> On Fri, Jan 25, 2019 at 5:35 AM Ras <[email protected]> wrote: >> >>> Hi, >>> >>> 1. I created *pipeline template* >>> 2. I created a *pipeline* that use the *template* >>> 3. I create a* parameter in the pipeline* >>> 4. When i use this pipeline parameter in the *template tasks*; it >>> fails. I am using parameter as follow in the template task >>> >>> - echo #{my_parameter} >>> >>> 5. I can not save pipeline template. Error is : >>> >>> *Save failed, see errors below* >>> *The following error(s) need to be resolved in order to perform this >>> action:* >>> *Parameter 'MY_PARAMETER' is not defined. All pipelines using this >>> parameter directly or via a template must define it.* >>> >>> >>> But i already defined the parameter in the pipline (not in the >>> template). >>> So is it normal ? If i can not use pipeline parameter in template, so >>> what is purpose of existence ? >>> >>> Thanks >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "go-cd" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> -- >> >> Ashwanth Kumar / ashwanthkumar.in >> > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Ashwanth Kumar / ashwanthkumar.in -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
