testing skipping building the artifact at the end (and cleanup of it)
Gitea Bucky/url-shortener/pipeline/head This commit looks good
Details
Gitea Bucky/url-shortener/pipeline/head This commit looks good
Details
parent
fbba67a9bd
commit
5f4209dbe8
|
|
@ -1,4 +1,4 @@
|
||||||
def buildArtifact = true
|
def buildArtifact = false
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'ruby && freebsd' }
|
agent { label 'ruby && freebsd' }
|
||||||
|
|
@ -98,6 +98,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Clean up deliverable') {
|
stage('Clean up deliverable') {
|
||||||
|
when {
|
||||||
|
expression {
|
||||||
|
buildArtifact
|
||||||
|
}
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'rm -rf /tmp/url-shortener'
|
sh 'rm -rf /tmp/url-shortener'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue