summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-02-21 18:36:50 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-02-21 18:36:50 +0800
commit9e6b2c5dd4a1a58ca62650b6f529213bc730f64f (patch)
tree2da10e80a712caf6833d8794ebba60878db33bcb /app/services
parent1f244284284607946b2758c4e9ef26559cd8d71c (diff)
downloadgitlab-ce-9e6b2c5dd4a1a58ca62650b6f529213bc730f64f.tar.gz
We actually want to clone project and remove gl_project_idfix-test-for-build-attributes
in the future. Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9409#note_23859361
Diffstat (limited to 'app/services')
-rw-r--r--app/services/ci/retry_build_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/ci/retry_build_service.rb b/app/services/ci/retry_build_service.rb
index 4ce9cabeda3..38ef323f6e5 100644
--- a/app/services/ci/retry_build_service.rb
+++ b/app/services/ci/retry_build_service.rb
@@ -1,6 +1,6 @@
module Ci
class RetryBuildService < ::BaseService
- CLONE_ATTRIBUTES = %i[pipeline ref tag options commands name
+ CLONE_ATTRIBUTES = %i[pipeline project ref tag options commands name
allow_failure stage stage_idx trigger_request
yaml_variables when environment coverage_regex]
.freeze
@@ -11,7 +11,7 @@ module Ci
created_at updated_at started_at finished_at
queued_at erased_by erased_at].freeze
- IGNORE_ATTRIBUTES = %i[type lock_version project gl_project_id target_url
+ IGNORE_ATTRIBUTES = %i[type lock_version gl_project_id target_url
deploy job_id description].freeze
def execute(build)