job
Adds a job to the pipeline.
Example:
job {
id("build")
name = "Build Application"
steps {
gradle {
tasks = "clean build"
}
}
}Content copied to clipboard
Return
added job
Parameters
init
function to initialize the job
Adds a job to the pipeline.
Example:
job(BuildApplication) // 'BuildApplication' object is defined elsewhereContent copied to clipboard
Parameters
job
the job to add