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
5f97be8b
Commit
5f97be8b
authored
Aug 01, 2018
by
Rémy Coutable
Committed by
Marin Jankovski
Sep 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Script trigger-build uses a token from gitlab-bot
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
ec4aa593
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
scripts/trigger-build
scripts/trigger-build
+2
-1
No files found.
scripts/trigger-build
View file @
5f97be8b
...
...
@@ -158,7 +158,8 @@ module Trigger
def
status
req
=
Net
::
HTTP
::
Get
.
new
(
@uri
)
req
[
'PRIVATE-TOKEN'
]
=
ENV
[
'GITLAB_QA_ACCESS_TOKEN'
]
# gitlab-bot's token "GitLab multi-project pipeline polling"
req
[
'PRIVATE-TOKEN'
]
=
ENV
[
'GITLAB_BOT_MULTI_PROJECT_PIPELINE_POLLING_TOKEN'
]
res
=
Net
::
HTTP
.
start
(
@uri
.
hostname
,
@uri
.
port
,
use_ssl:
true
)
do
|
http
|
http
.
request
(
req
)
...
...
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