remove old snaps before building new
Some checks failed
dreamfall/partybot/pipeline/head There was a failure building this commit
Some checks failed
dreamfall/partybot/pipeline/head There was a failure building this commit
This commit is contained in:
parent
3c539d1fc9
commit
2d09b250e3
1 changed files with 8 additions and 2 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -8,7 +8,10 @@ pipeline {
|
||||||
parallel {
|
parallel {
|
||||||
stage('Build snap for ARM64') {
|
stage('Build snap for ARM64') {
|
||||||
agent { label "snap-arm64" }
|
agent { label "snap-arm64" }
|
||||||
steps { sh "snapcraft" }
|
steps {
|
||||||
|
sh "rm *.snap"
|
||||||
|
sh "snapcraft"
|
||||||
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
sh "snapcraft upload --release=edge *.snap"
|
sh "snapcraft upload --release=edge *.snap"
|
||||||
|
@ -17,7 +20,10 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Build snap for AMD64') {
|
stage('Build snap for AMD64') {
|
||||||
agent { label "snap-amd64" }
|
agent { label "snap-amd64" }
|
||||||
steps { sh "snapcraft" }
|
steps {
|
||||||
|
sh "rm *.snap"
|
||||||
|
sh "snapcraft"
|
||||||
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
sh "snapcraft upload --release=edge *.snap"
|
sh "snapcraft upload --release=edge *.snap"
|
||||||
|
|
Loading…
Reference in a new issue