Hi everyone,
Earlier we introduced support for default values in custom pipeline variables. And now we are happy to announce a new feature to make pipeline variables configuration more flexible.
We added a new property to predefine values that can be assigned to a variable. Here is an example of a pipeline configuration:
pipelines:
custom:
run-test-for-environment:
- variables:
- name: Environment
default: production
allowed-values: # optionally specify variable values
- dev
- staging
- production
- step:
script:
- echo "environment is $Environment"
Nadia Begicheva
2 comments