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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
586f2106
Commit
586f2106
authored
Sep 13, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add change log. Fix spec.
parent
73388007
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
changelogs/unreleased/fix-sm-37559-pipeline-triggered-through-api-not-showing-trigger-variables.yml
...e-triggered-through-api-not-showing-trigger-variables.yml
+6
-0
spec/services/ci/pipeline_trigger_service_spec.rb
spec/services/ci/pipeline_trigger_service_spec.rb
+1
-1
No files found.
changelogs/unreleased/fix-sm-37559-pipeline-triggered-through-api-not-showing-trigger-variables.yml
0 → 100644
View file @
586f2106
---
title
:
Fix Pipeline Triggers to show triggered label and predefined variables (e.g.
CI_PIPELINE_TRIGGERED)
merge_request
:
14244
author
:
type
:
fixed
spec/services/ci/pipeline_trigger_service_spec.rb
View file @
586f2106
...
...
@@ -34,7 +34,7 @@ describe Ci::PipelineTriggerService do
expect
(
result
[
:pipeline
].
ref
).
to
eq
(
'master'
)
expect
(
result
[
:pipeline
].
project
).
to
eq
(
project
)
expect
(
result
[
:pipeline
].
user
).
to
eq
(
trigger
.
owner
)
expect
(
[
result
[
:pipeline
].
trigger_requests
.
last
]
)
expect
(
result
[
:pipeline
].
trigger_requests
.
to_a
)
.
to
eq
(
result
[
:pipeline
].
builds
.
map
(
&
:trigger_request
).
uniq
)
expect
(
result
[
:status
]).
to
eq
(
:success
)
end
...
...
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