Skip to content

Stage

data class Stage(val name: String)

A stage in a pipeline.

A stage is a group of jobs that run together. Use the stage factory to easily create a stage in a pipeline:

val pipeline = gitlabCi {
    val build by stage()

    val start by job {
        stage = build
        script {  }
    }
}

Read more in the GitLab documentation.

Constructors

Stage

constructor(name: String)

Properties

name

val name: String