add clean setup before building
All checks were successful
dreamfall/partybot/pipeline/head This commit looks good

This commit is contained in:
Morgan McMillian 2022-11-13 07:41:39 -08:00
parent defe81cef3
commit beb82cddc4

2
Jenkinsfile vendored
View file

@ -10,6 +10,7 @@ pipeline {
agent { label "snap-arm64" } agent { label "snap-arm64" }
steps { steps {
sh "rm *.snap || true" sh "rm *.snap || true"
sh "snapcraft clean"
sh "snapcraft" sh "snapcraft"
} }
post { post {
@ -22,6 +23,7 @@ pipeline {
agent { label "snap-amd64" } agent { label "snap-amd64" }
steps { steps {
sh "rm *.snap || true" sh "rm *.snap || true"
sh "snapcraft clean"
sh "snapcraft" sh "snapcraft"
} }
post { post {