diff --git a/Jenkinsfile b/Jenkinsfile index b8d2953..8d262d9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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"