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.

Reply via email to