pipeline
Registers the specified pipeline in this project.
Example. Pipeline defined as an object
object Main: Project({
name = "Main"
description = "The project main branch"
pipeline(MyPipeline)
})
object MyPipeline: Pipeline({
// ...
})Content copied to clipboard
Parameters
pipeline
pipeline to register
See also
Registers a new pipeline initialized with the specified block in this project.
Example. Pipeline defined in-place
pipeline {
id("BuildAndDeploy")
name = "Build and Deploy"
job("build") {
// job configuration
}
job("deploy") {
// job configuration
}
}Content copied to clipboard
Return
added pipeline
Parameters
init
initialization block