createJob

On this page
Back to index

Summary

Creates an externally managed job that serves as a container for external job steps.
destinationProject
Stringoptional
The project that will own the job.
jobNameTemplate
Stringoptional
Template used to determine the default name of jobs launched from a procedure.
procedureName
Stringoptional
The name of the procedure that should own the job step. If not specified, myStep.procedure is used.
projectName
Stringoptional
The name of the project if destinationProject is not specified.
status
Stringoptional
The starting status for the job.
Possible values: "success", "warning", "error", "skipped", "notRun"

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createJob( /* optional arguments */ )