Commit 7e3545c9 authored by Balasankar "Balu" C's avatar Balasankar "Balu" C

Support using env variables to populate trigger params

Signed-off-by: default avatarBalasankar "Balu" C <balasankar@gitlab.com>
parent 3c86cc65
......@@ -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