You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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:

FEATURE AVAILABILITY STARTING FROM RELEASE 2.4.1

JOC-1350 - Getting issue details... STATUS

JOC-1363 - Getting issue details... STATUS

  • No labels