GitLab CI Kotlin DSL • opensavvy.gitlab.ci • Artifacts • name
name¶
Defines the name of the created artifacts archive.
If not defined, the default name is artifacts
, which becomes artifacts.zip
when downloaded. CI/CD variables are supported in the name.
Example¶
val build by job {
script {
shell("make build")
}
artifacts {
include("binaries/")
name("build-artifacts-${CI_COMMIT_REF_NAME}")
}
}