Page History
Table of Contents |
---|
Introduction
Job errors and warnings are detected by JS7 from a job's return code:
- For Shell Jobs the return code corresponds to the job's exit code.
- For JVM Jobs the return code is available from the order outcome with the
returnCode
return variable.
In addition, for Shell Jobs output that is possibly available from the stderr channel can be used to decide about errors and warnings.
Detect Job Errors
Detect Errors from Job Return Codes
Detect Errors from Output to the stderr Channel
Download workflow example (upload .json): pdwStdError.workflow.json
Assume a workflow configuration with a job script that creates output to the stderr channel like this:
The "Job Options" tab offers to select the Fail on output to stderr checkbox like this:
Detect Job Warnings
Feature Status:
Display feature availability | ||
---|---|---|
|
Jira | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Jira | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Overview
Content Tools