Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2d6df9ab
Commit
2d6df9ab
authored
Jan 08, 2020
by
Albert Salim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add debug lines on pipeline trigger
parent
efe84ce0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
scripts/trigger-build
scripts/trigger-build
+6
-1
No files found.
scripts/trigger-build
View file @
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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment