Title |
<%= @historical_job.title %> |
ID |
<%= @historical_job.id %> |
Status |
<%= @logical_job.status %> |
Server |
<%=
if @historical_job.started_on_machine.present?
name = @historical_job.started_on_machine.short_name
name.present? ? name : @historical_job.started_on_machine.server_address
end
%> |
Pid |
<%= @historical_job.pid %> |
Machine Runner Invocation Id |
<% if @historical_job.machine_runner_invocation_id.present? -%>
<%= link_to @historical_job.machine_runner_invocation_id, machine_runner_invocation_path(@historical_job.machine_runner_invocation) %>
<% end -%>
|
Queued Time |
<%= @historical_job.created_at.localtime.strftime("%Y-%m-%d %r") %> |
Command |
<%= @historical_job.command %> |
Started At |
<%= @historical_job.started_at %> |
Finished At |
<%= @historical_job.finished_at %> |
Run Time |
<%= @logical_job.run_time %> |
Exit Status |
<%= @historical_job.exit_status %> |
Script Type Name |
<%= @historical_job.application_type.script_type_name %> |
Log Level |
<%= @historical_job.log_level %> |
Tags |
<%= @historical_job.running_job.try(:tags) %> |
Request To Terminate |
<%= @historical_job.request_to_terminate %> |
Machine Started On Server Address |
<%= @historical_job.started_on_machine.try(:server_address) %> |
Machine Started On Server Name |
<%= @historical_job.started_on_machine.try(:server_name) %> |
Application Run Group Name |
<%= @historical_job.application_run_group_name %> |
Application Run Group Limit |
<%= @historical_job.application_run_group_limit %> |
Application Run Group Restriction Name |
<%= @historical_job.application_run_group_restriction.application_run_group_restriction_name %> |
<%= link_to "Historical Job Affinity Tabs",
historical_job_historical_job_affinity_tabs_path(@historical_job.id) %>
|
<%= @logical_job.affinities %> |
<% if ['Running', 'Waiting', 'Queued'].include?(@logical_job.status) -%>
Terminate Job |
<%= link_to image_tag('terminate.png',
class: 'action',
title: "Terminate job(id: #{@historical_job.id}, title: #{@historical_job.title})"),
"#", { class: "terminate" }
%> |
<% end %>