Commit e6aea599 authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'caalberts-debug-trigger-build-variables' into 'master'

Add debug lines on pipeline trigger

See merge request gitlab-org/gitlab!22569
parents 61ee2638 2d6df9ab
......@@ -18,11 +18,16 @@ module Trigger
class Base
def invoke!(post_comment: false, downstream_job_name: nil)
pipeline_variables = variables
puts "Triggering downstream pipeline on #{downstream_project_path}"
puts "with variables #{pipeline_variables}"
pipeline = Gitlab.run_trigger(
downstream_project_path,
trigger_token,
ref,
variables)
pipeline_variables)
puts "Triggered downstream pipeline: #{pipeline.web_url}\n"
puts "Waiting for downstream pipeline status"
......
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