Publish successful builds to snapcraft
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
130f4004d7
commit
a85bc594a0
1 changed files with 15 additions and 2 deletions
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
|
@ -1,15 +1,28 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent none
|
agent none
|
||||||
|
environment {
|
||||||
|
SNAPCRAFT_STORE_CREDENTIALS = credentials('snapcraft-store-credentials')
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Build snap packages') {
|
stage('Build snap packages') {
|
||||||
parallel {
|
parallel {
|
||||||
stage('Snap ARM64') {
|
stage('Build snap for ARM64') {
|
||||||
agent { label "snap-arm64" }
|
agent { label "snap-arm64" }
|
||||||
steps { sh "snapcraft" }
|
steps { sh "snapcraft" }
|
||||||
|
post {
|
||||||
|
success {
|
||||||
|
sh "snapcraft upload --release=edge *.snap"
|
||||||
}
|
}
|
||||||
stage('Snap AMD64') {
|
}
|
||||||
|
}
|
||||||
|
stage('Build snap for AMD64') {
|
||||||
agent { label "snap-amd64" }
|
agent { label "snap-amd64" }
|
||||||
steps { sh "snapcraft" }
|
steps { sh "snapcraft" }
|
||||||
|
post {
|
||||||
|
success {
|
||||||
|
sh "snapcraft upload --release=edge *.snap"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue