GitLab CI Kotlin DSL • opensavvy.gitlab.ci • Artifacts • exposeAs
exposeAs¶
Exposes job artifacts in the merge request UI with a custom display name.
This creates a download link in the merge request UI that displays the specified name. A maximum of 10 job artifacts per merge request can be exposed.
Example¶
val test by job {
script {
shell("echo 'test results' results.txt")
}
artifacts {
include("results.txt")
exposeAs("Test Results")
}
}