Publish successful builds to snapcraft
Some checks failed
dreamfall/partybot/pipeline/head There was a failure building this commit

This commit is contained in:
Morgan McMillian 2022-11-13 06:45:56 -08:00
parent 130f4004d7
commit a85bc594a0

17
Jenkinsfile vendored
View file

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