don't fail if no previous snaps exist
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:33:39 -08:00
parent 2d09b250e3
commit defe81cef3

4
Jenkinsfile vendored
View file

@ -9,7 +9,7 @@ pipeline {
stage('Build snap for ARM64') { stage('Build snap for ARM64') {
agent { label "snap-arm64" } agent { label "snap-arm64" }
steps { steps {
sh "rm *.snap" sh "rm *.snap || true"
sh "snapcraft" sh "snapcraft"
} }
post { post {
@ -21,7 +21,7 @@ pipeline {
stage('Build snap for AMD64') { stage('Build snap for AMD64') {
agent { label "snap-amd64" } agent { label "snap-amd64" }
steps { steps {
sh "rm *.snap" sh "rm *.snap || true"
sh "snapcraft" sh "snapcraft"
} }
post { post {