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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
2 comments