Skip to content

TaskLog ​

Some tasks (like the remote command task) can produce a text-based log file. This object provides access to these files.

Instance Methods ​

contents() → String ​

Returns the entire contents of the file.

Returns: String - The contents of the entire task log.

tail() → String ​

Returns the last N lines of the file.

Returns: String - The last N lines of the file

head() → String ​

Returns the first N lines of the file

Returns: String - The first N lines of the file

Workload Automation and Orchestration