Commit fb2ab2a3 authored by Balasankar "Balu" C's avatar Balasankar "Balu" C

Pass false to trigger if EE_PACKAGE not set

parent 66aad16d
Pipeline #8891270 passed with stages
in 180 minutes and 19 seconds
......@@ -9,7 +9,7 @@ params = {
"variables[ALTERNATIVE_SOURCES]" => true,
"variables[ee]" => ENV["EE_PACKAGE"]
"variables[ee]" => ENV["EE_PACKAGE"] || "false"
Dir.glob("*_VERSION").each do |version_file|
......@@ -19,4 +19,9 @@ end
res = Net::HTTP.post_form(uri, params)
pipeline_id = JSON.parse(res.body)['id']
puts "Triggered pipeline can be found at{pipeline_id}"
unless pipeline_id.nil?
puts "Triggered pipeline can be found at{pipeline_id}"
puts "Trigger failed. The response from trigger is: "
puts res.body
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