Commit 9e6b2c5d authored by Lin Jen-Shin's avatar Lin Jen-Shin

We actually want to clone project and remove gl_project_id

in the future. Feedback:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9409#note_23859361
parent 1f244284
module Ci module Ci
class RetryBuildService < ::BaseService 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 allow_failure stage stage_idx trigger_request
yaml_variables when environment coverage_regex] yaml_variables when environment coverage_regex]
.freeze .freeze
...@@ -11,7 +11,7 @@ module Ci ...@@ -11,7 +11,7 @@ module Ci
created_at updated_at started_at finished_at created_at updated_at started_at finished_at
queued_at erased_by erased_at].freeze 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 deploy job_id description].freeze
def execute(build) def execute(build)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment