Morgan McMillian
defe81cef3
Some checks failed
dreamfall/partybot/pipeline/head There was a failure building this commit
36 lines
1.1 KiB
Groovy
36 lines
1.1 KiB
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 "rm *.snap || true"
|
|
sh "snapcraft"
|
|
}
|
|
post {
|
|
success {
|
|
sh "snapcraft upload --release=edge *.snap"
|
|
}
|
|
}
|
|
}
|
|
stage('Build snap for AMD64') {
|
|
agent { label "snap-amd64" }
|
|
steps {
|
|
sh "rm *.snap || true"
|
|
sh "snapcraft"
|
|
}
|
|
post {
|
|
success {
|
|
sh "snapcraft upload --release=edge *.snap"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|