testing skipping building the artifact at the end (and cleanup of it)
Gitea Bucky/url-shortener/pipeline/head This commit looks good

This commit is contained in:
2023-10-23 15:10:16 -07:00
parent fbba67a9bd
commit 5f4209dbe8
Vendored
+6 -1
View File
@@ -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'
} }