!Job
A !Job
specifies a single action to perform along with the environment that it
should be executed within:
Field | Required | Description |
---|---|---|
ident |
Identifier for the job, used to navigate job hierarchy | |
cwd |
Working directory, if not specified then the launch shell's $CWD is used |
|
command |
Command to execute | |
args |
List of arguments to provide to the command | |
env |
Dictionary of environment variables to overlay | |
resources |
List of !Cores, !Memory, and !License requests | |
on_done |
List of jobs that must complete (pass or fail) before launching this job | |
on_pass |
List of jobs that must succeed before launching this job | |
on_fail |
List of jobs that must fail before launching this job |
Note
Dependencies specified in on_done
, on_pass
, and on_fail
are
ANDed together, such that all tasks listed must complete with the relevent
pass or failure state before the dependent task is started.