partybot/Jenkinsfile
Morgan McMillian a85bc594a0
Some checks failed
dreamfall/partybot/pipeline/head There was a failure building this commit
Publish successful builds to snapcraft
2022-11-13 06:45:56 -08:00

30 lines
920 B
Groovy

pipeline {
agent none
environment {
SNAPCRAFT_STORE_CREDENTIALS = credentials('snapcraft-store-credentials')
}
stages {
stage('Build snap packages') {
parallel {
stage('Build snap for ARM64') {
agent { label "snap-arm64" }
steps { sh "snapcraft" }
post {
success {
sh "snapcraft upload --release=edge *.snap"
}
}
}
stage('Build snap for AMD64') {
agent { label "snap-amd64" }
steps { sh "snapcraft" }
post {
success {
sh "snapcraft upload --release=edge *.snap"
}
}
}
}
}
}
}