cleanup workspace after build
Some checks failed
dreamfall/partybot/pipeline/head There was a failure building this commit

This commit is contained in:
Morgan McMillian 2022-11-29 11:11:31 -08:00
parent e9997bbb44
commit 41725fa57e

6
Jenkinsfile vendored
View file

@ -22,6 +22,9 @@ pipeline {
failure { failure {
mattermostSend color: "danger", message: "ARM64 Snap build failure - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)" mattermostSend color: "danger", message: "ARM64 Snap build failure - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
} }
always {
cleanWs()
}
} }
} }
stage('Build snap for AMD64') { stage('Build snap for AMD64') {
@ -40,6 +43,9 @@ pipeline {
failure { failure {
mattermostSend color: "danger", message: "AMD64 Snap build failure - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)" mattermostSend color: "danger", message: "AMD64 Snap build failure - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
} }
always {
cleanWs()
}
} }
} }
} }