Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-12-06 16:49:37 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-12-06 18:04:30 +0300
commit953a10947bea8ff75290cd50fae4ae1f7636a71d (patch)
tree060ae96378341519786aa236050c110a246047ae /lib/gitlab/data_builder
parent401c155e16e4966be538fd14f23e268cd3383aa7 (diff)
Added Ci::Stage specs
Diffstat (limited to 'lib/gitlab/data_builder')
-rw-r--r--lib/gitlab/data_builder/pipeline.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/data_builder/pipeline.rb b/lib/gitlab/data_builder/pipeline.rb
index e0284d55da8..e50e54b6e99 100644
--- a/lib/gitlab/data_builder/pipeline.rb
+++ b/lib/gitlab/data_builder/pipeline.rb
@@ -22,7 +22,7 @@ module Gitlab
sha: pipeline.sha,
before_sha: pipeline.before_sha,
status: pipeline.status,
- stages: pipeline.stages.map(&:name),
+ stages: pipeline.stages_name,
created_at: pipeline.created_at,
finished_at: pipeline.finished_at,
duration: pipeline.duration