Module: waitForJobRunEnded

Methods


<inner> waitForJobRunEnded(jobName [, onBuildComplete])

Nightwatch command to wait for a job run to end.

Parameters:
Name Type Argument Description
jobName String

the name of the job we are waiting on

onBuildComplete function <optional>

callback to be invoke when finished, will pass the sse event to the callback


<inner> waitForPipelineStageEvent(pipelineName [, onPipelineStageEvent])

Nightwatch command to wait for a stage event to be published.

Parameters:
Name Type Argument Description
pipelineName String

the name of the job we are waiting on

onPipelineStageEvent function <optional>

callback to be invoke when finished, will pass the sse event to the callback

Module: waitForJobRunEnded

Methods


<inner> waitForJobRunEnded(jobName [, onBuildComplete])

Nightwatch command to wait for a job run to end.

Parameters:
Name Type Argument Description
jobName String

the name of the job we are waiting on

onBuildComplete function <optional>

callback to be invoke when finished, will pass the sse event to the callback


<inner> waitForPipelineStageEvent(pipelineName [, onPipelineStageEvent])

Nightwatch command to wait for a stage event to be published.

Parameters:
Name Type Argument Description
pipelineName String

the name of the job we are waiting on

onPipelineStageEvent function <optional>

callback to be invoke when finished, will pass the sse event to the callback