diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2017-02-23 17:36:53 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2017-02-23 17:36:53 +0300 |
commit | cfd7602dde35a2558563689b0a03f0eaf49b20fd (patch) | |
tree | 814da7395c3873eafe1353db5eb1db63dbf24fe5 /app/services | |
parent | 7e662dc7cba5440ba21a0a928f035914c48bce37 (diff) | |
parent | 9e6b2c5dd4a1a58ca62650b6f529213bc730f64f (diff) |
Merge branch 'fix-test-for-build-attributes' into 'master'
Fix build attributes test
See merge request !9409
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/ci/retry_build_service.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/services/ci/retry_build_service.rb b/app/services/ci/retry_build_service.rb index 4b47ee489cf..38ef323f6e5 100644 --- a/app/services/ci/retry_build_service.rb +++ b/app/services/ci/retry_build_service.rb @@ -1,16 +1,17 @@ module Ci class RetryBuildService < ::BaseService - CLONE_ATTRIBUTES = %i[pipeline ref tag options commands tag_list 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 REJECT_ATTRIBUTES = %i[id status user token coverage trace runner - artifacts_file artifacts_metadata artifacts_size + artifacts_expire_at artifacts_file + artifacts_metadata artifacts_size created_at updated_at started_at finished_at queued_at erased_by erased_at].freeze - IGNORE_ATTRIBUTES = %i[trace type lock_version project target_url + IGNORE_ATTRIBUTES = %i[type lock_version gl_project_id target_url deploy job_id description].freeze def execute(build) |