remove old snaps before building new
Some checks failed
dreamfall/partybot/pipeline/head There was a failure building this commit

This commit is contained in:
Morgan McMillian 2022-11-13 07:30:04 -08:00
parent 3c539d1fc9
commit 2d09b250e3

10
Jenkinsfile vendored
View file

@ -8,7 +8,10 @@ pipeline {
parallel {
stage('Build snap for ARM64') {
agent { label "snap-arm64" }
steps { sh "snapcraft" }
steps {
sh "rm *.snap"
sh "snapcraft"
}
post {
success {
sh "snapcraft upload --release=edge *.snap"
@ -17,7 +20,10 @@ pipeline {
}
stage('Build snap for AMD64') {
agent { label "snap-amd64" }
steps { sh "snapcraft" }
steps {
sh "rm *.snap"
sh "snapcraft"
}
post {
success {
sh "snapcraft upload --release=edge *.snap"