class Werk::Report::Job

Included Modules

Defined in:

werk/report.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, executor : String, variables : Hash(String, String), directory : String, exit_code : Int32, output : String, duration : Float64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def directory : String #

The directory in which the job was executed


[View source]
def duration : Float64 #

Duration of the job execution


[View source]
def executor : String #

Executor type


[View source]
def exit_code : Int32 #

Execution exit code


[View source]
def name : String #

Job name


[View source]
def output : String #

Job output (stdout & sterr combined)


[View source]
def variables : Hash(String, String) #

All variables passed to the job


[View source]