Class: Actions::ForemanPipeline::Job::RunJobManually
- Inherits:
-
EntryAction
- Object
- EntryAction
- Actions::ForemanPipeline::Job::RunJobManually
- Defined in:
- app/lib/actions/foreman_pipeline/job/run_job_manually.rb
Instance Method Summary collapse
Instance Method Details
#humanized_name ⇒ Object
15 16 17 |
# File 'app/lib/actions/foreman_pipeline/job/run_job_manually.rb', line 15 def humanized_name "Run manually ForemanPipeline::Job: #{input[:name]}" end |
#plan(job) ⇒ Object
6 7 8 9 |
# File 'app/lib/actions/foreman_pipeline/job/run_job_manually.rb', line 6 def plan(job) plan_action(DeployNewHost, job) plan_self(:info => "Manually triggered job started.", :name => job.name) end |
#run ⇒ Object
11 12 13 |
# File 'app/lib/actions/foreman_pipeline/job/run_job_manually.rb', line 11 def run output = input end |