Class: Ci::ResetSkippedJobsService
- Inherits:
-
BaseService
- Object
- BaseService
- Ci::ResetSkippedJobsService
- Defined in:
- app/services/ci/reset_skipped_jobs_service.rb
Overview
This service resets skipped jobs so they can be processed again. It affects the jobs that depend on the passed in job parameter.
Instance Attribute Summary
Attributes inherited from BaseService
#current_user, #params, #project
Instance Method Summary collapse
Methods inherited from BaseService
Methods included from BaseServiceUtility
#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level
Methods included from Gitlab::Allowable
Constructor Details
This class inherits a constructor from BaseService
Instance Method Details
#execute(processables) ⇒ Object
7 8 9 10 11 12 13 |
# File 'app/services/ci/reset_skipped_jobs_service.rb', line 7 def execute(processables) @processables = Array.wrap(processables) @pipeline = @processables.first.pipeline process_subsequent_jobs reset_source_bridge end |