Sha256: 5408e5d87d1756ed84391c18c0204535727d5a4562f4852fe1a21d6af81f9971

Contents?: true

Size: 827 Bytes

Versions: 2

Compression:

Stored size: 827 Bytes

Contents

<%#
name: Remote Execution Host Job
description: Example payload for actions.remote_execution.run_host_job_succeeded
snippet: false
model: WebhookTemplate
-%>
#
# Example webhook template, @object carries Action instance.
# For more information about available helpers visit /templates_doc
#
# Run job host name <%= @object.host_name %>
# Run job host id <%= @object.host_id %>
# Run job full host object <%= @object.host %>
# Run job job_invocation_id <%= @object.job_invocation_id %>
# Run job job_invocation <%= @object.job_invocation %>
# Task label <%= @object.task.label %>
# Task started at <%= @object.task.started_at %>
# Task ended at <%= @object.task.ended_at %>
# Task resulted with <%= @object.task.result %>
# Task state <%= @object.task.state %>
# Task action output <%= @object.task.action_continuous_output %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_webhooks-3.1.1 app/views/foreman_webhooks/webhook_templates/remote_execution_-_host_job.erb
foreman_webhooks-3.2.1 app/views/foreman_webhooks/webhook_templates/remote_execution_-_host_job.erb