Gocd: Add default parameter value when adding new parameter into template

Created on 8 Jan 2015  路  3Comments  路  Source: gocd/gocd

When I'm trying to add a parameter to the template, it says: Parameter 'MY_PARAM' is not defined. All pipelines using this parameter directly or via a template must define it."
As a result, I need to edit all pipelines and provide a parameter; while having lot of pipelines basing on the template, it is really annoying.

Instead, there should be a possibility to provide a default value for the parameter.
Instead error message, an input querying for default value for new param may be presented. Param and value specified by user will be added to all pipelines, which are using the parameter and does not provide it yet.

enhancement stale templates

Most helpful comment

Even better: allow the possibility to define parameters on template level and then have parameter with the same name defined on a pipeline override that.

All 3 comments

:+1: on this issue

Even better: allow the possibility to define parameters on template level and then have parameter with the same name defined on a pipeline override that.

This issue has been automatically marked as stale because it has not had activity in the last 90 days.
If you can still reproduce this error on the master branch using local development environment or on the latest GoCD Release, please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions.

Was this page helpful?
0 / 5 - 0 ratings