diff options
author | Rémy Coutable <remy@rymai.me> | 2018-09-04 22:56:20 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-09-24 18:24:13 +0200 |
commit | 45d8c213fdff6f6040e41f52060c797e1fc57462 (patch) | |
tree | 590d918e1f153cc790dd59ede96cb103cc9a5804 /scripts/trigger-build-docs | |
parent | bd30b0d511be46ee3bb1f0b2671319c74fa22176 (diff) | |
download | gitlab-ce-45d8c213fdff6f6040e41f52060c797e1fc57462.tar.gz |
Refactor scripts/trigger-build and post a commit note with the downstream pipeline URL for omnibus triggers
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'scripts/trigger-build-docs')
-rwxr-xr-x | scripts/trigger-build-docs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/trigger-build-docs b/scripts/trigger-build-docs index 9ee35684509..dfc8ee6050a 100755 --- a/scripts/trigger-build-docs +++ b/scripts/trigger-build-docs @@ -6,8 +6,8 @@ require 'gitlab' # Configure credentials to be used with gitlab gem # Gitlab.configure do |config| - config.endpoint = 'https://gitlab.com/api/v4' - config.private_token = ENV["DOCS_API_TOKEN"] # GitLab Docs bot access token with Developer access to gitlab-docs + config.endpoint = 'https://gitlab.com/api/v4' + config.private_token = ENV["DOCS_API_TOKEN"] # GitLab Docs bot access token with Developer access to gitlab-docs end # @@ -99,7 +99,7 @@ def trigger_pipeline puts "=> Follow the status of the triggered pipeline:" puts "" - puts "https://gitlab.com/gitlab-com/gitlab-docs/pipelines/#{pipeline.id}" + puts pipeline.web_url puts "" puts "=> In a few minutes, you will be able to preview your changes under the following URL:" puts "" |