Class: Patriot::Command::PostProcessor::SkipOnFail
- Defined in:
- lib/patriot/command/post_processor/skip_on_fail.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
declare_post_processor_name, #initialize, #process, #process_success, #validate_props
Constructor Details
This class inherits a constructor from Patriot::Command::PostProcessor::Base
Instance Method Details
#process_failure(cmd, worker, job_ticket) ⇒ Object
9 10 11 12 |
# File 'lib/patriot/command/post_processor/skip_on_fail.rb', line 9 def process_failure(cmd, worker, job_ticket) worker.job_store.set_state(Time.now.to_i, [cmd.job_id], Patriot::JobStore::JobState::SUCCEEDED) return true end |