From f6e985dba4d0f5b1ede95e9174d30dd6a8bedf0d Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 8 Jan 2020 06:08:13 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- scripts/trigger-build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/trigger-build b/scripts/trigger-build index b7b805b826f..6e50d8907d8 100755 --- a/scripts/trigger-build +++ b/scripts/trigger-build @@ -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" -- cgit v1.2.3