Commit cfe212c8 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'pass-env-variables-trigger' into 'master'

Support using env variables to populate trigger params

See merge request gitlab-org/gitlab!20823
parents 694b8d68 7e3545c9
......@@ -71,7 +71,7 @@ module Trigger
# Can be overridden
def version_param_value(version_file)
File.read(version_file).strip
ENV[version_file]&.strip || File.read(version_file).strip
end
def variables
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment