summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/trigger-build-docs8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/trigger-build-docs b/scripts/trigger-build-docs
index 04aab1cae91..42ba024da70 100755
--- a/scripts/trigger-build-docs
+++ b/scripts/trigger-build-docs
@@ -45,10 +45,14 @@ def trigger_pipeline
app_url = "http://#{@docs_branch}.#{ENV["DOCS_REVIEW_APPS_DOMAIN"]}/#{is_ee? ? 'ee' : 'ce'}"
# Create the pipeline
+ puts "=> Triggering a pipeline..."
pipeline = Gitlab.run_trigger(GITLAB_DOCS_REPO, ENV["DOCS_TRIGGER_TOKEN"], @docs_branch, { param_name => ENV["CI_COMMIT_REF_NAME"] })
- puts "Triggered pipeline: https://gitlab.com/gitlab-com/gitlab-docs/pipelines/#{pipeline.id}"
- puts "Preview your changes live at:"
+ puts "=> Pipeline created:"
+ puts ""
+ puts "https://gitlab.com/gitlab-com/gitlab-docs/pipelines/#{pipeline.id}"
+ puts ""
+ puts "=> Preview your changes live at:"
puts ""
puts app_url
puts ""