gitlab-org--gitlab-foss/app/services/ci
Sean McGivern 6247886405 Don't create build failed todo when build is retried
When a build is retried automatically, we close any open todos. However, we do
that _before_ creating a new build failed todo.

To solve this, we check if the build is retried before creating the todo. We
also ensure that the build _instance_ has the correct attribute set, without
needing to reload it from the database.
2017-10-16 11:10:07 +01:00
..
create_cluster_service.rb Fix almost all unresolved comments from Docs and UX review 2017-10-05 21:33:29 +02:00
create_pipeline_schedule_service.rb Add Pipeline Schedules that supersedes experimental Trigger Schedule 2017-05-07 22:35:56 +00:00
create_pipeline_service.rb Add some minor improvements to pipeline creation chain 2017-09-27 11:45:16 +02:00
create_pipeline_stages_service.rb Refine implementation of pipeline stage seeds 2017-06-02 12:16:11 +02:00
extract_sections_from_build_trace_service.rb Extract Ci::Build#parse_trace_sections! into a service 2017-10-06 12:33:10 +02:00
fetch_gcp_operation_service.rb Fix cluster event names to be prefixed with: make_ 2017-10-04 15:14:45 +02:00
fetch_kubernetes_token_service.rb fetch_kubernetes_token_service_spec. Fix static analysys. 2017-10-05 20:26:07 +09:00
finalize_cluster_creation_service.rb Fix cluster event names to be prefixed with: make_ 2017-10-04 15:14:45 +02:00
integrate_cluster_service.rb integrate_cluster_service_spec. provision_cluster_service_spec. update_cluster_service_spec. 2017-10-05 16:34:24 +09:00
pipeline_trigger_service.rb Fix PipelineTriggerService to associate trigger_request with builds 2017-09-13 17:02:26 +09:00
play_build_service.rb Use update build policy instead of new play policy 2017-05-05 12:25:24 +02:00
process_pipeline_service.rb Merge branch 'retried-in-database-mysql' into 'master' 2017-05-10 22:07:05 +00:00
provision_cluster_service.rb Fix cluster event names to be prefixed with: make_ 2017-10-04 15:14:45 +02:00
register_job_service.rb Refactor access_level to not_protected and ref_protected 2017-09-03 23:49:10 +09:00
retry_build_service.rb Don't create build failed todo when build is retried 2017-10-16 11:10:07 +01:00
retry_pipeline_service.rb Store retried in database for CI builds 2017-05-07 22:43:53 +02:00
stop_environments_service.rb Add new ability check for stopping environment 2017-05-01 13:38:57 +02:00
update_build_queue_service.rb
update_cluster_service.rb Added cluster controller specs 2017-10-05 17:05:29 +02:00
update_runner_service.rb