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:
Diffstat (limited to 'lib/gitlab/data_builder/pipeline.rb')
-rw-r--r--lib/gitlab/data_builder/pipeline.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gitlab/data_builder/pipeline.rb b/lib/gitlab/data_builder/pipeline.rb
index 2c124b07006..320ebe5e80f 100644
--- a/lib/gitlab/data_builder/pipeline.rb
+++ b/lib/gitlab/data_builder/pipeline.rb
@@ -52,7 +52,8 @@ module Gitlab
runner: :tags,
job_artifacts_archive: [],
user: [],
- metadata: []
+ metadata: [],
+ ci_stage: []
}
}
)
@@ -110,7 +111,7 @@ module Gitlab
def build_hook_attrs(build)
{
id: build.id,
- stage: build.stage,
+ stage: build.stage_name,
name: build.name,
status: build.status,
created_at: build.created_at,