Commit 66d8db0f authored by Arian's avatar Arian
Browse files

use gitlabCommitStatus

parent 258e0c03
node {
stage "checkout"
checkout scm
stage('Build') {
stage "Build"
gitlabCommitStatus("build") {
sh 'echo foo > foo'
sh 'ls'
sh 'ls coverage'
sh 'ls reports'
}
stage('Test') {
stage "test"
gitlabCommitStatus("test") {
sh 'cat foo'
archiveArtifacts 'foo'
publishHTML(target: [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment