From b8fd1cb61013963c6bf54a38166b14bebb303708 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Tue, 5 Sep 2017 18:39:01 +0200 Subject: Better output message --- scripts/trigger-build-docs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'scripts') 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 "" -- cgit v1.2.1