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 {
|
||||
agent { label 'ruby && freebsd' }
|
||||
|
|
@ -98,6 +98,11 @@ pipeline {
|
|||
}
|
||||
}
|
||||
stage('Clean up deliverable') {
|
||||
when {
|
||||
expression {
|
||||
buildArtifact
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'rm -rf /tmp/url-shortener'
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue