layerfileStatusEquals
function accepts two string parameters
layerfileRelativePath
and status
, then returns a boolean if the Layerfile
defined in the first argument matches the status in the second.
The Layerfile relative path is the path to the Layerfile relative to the root of
your project.
Layerfile status can be one of the following
['NEW', 'RUNNING', 'SUCCESS', 'FAILURE', 'ERROR', 'WAITING_PARENTS', 'CANCELLED']
.
jobStatusEquals
function accepts one string parameter status
and returns
a boolean if the job matches the status .
Job status can be one of the following ['ERROR', 'SUCCESS']
.
jobStatusEquals
function accepts one string parameter path
and returns a
string with a URL to that path on your preview environment.