Skip to content

Commit

Permalink
Jenkinsfile: upload static artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Jul 4, 2022
1 parent 7665657 commit 9515153
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,12 @@ def genStaticStep(LinkedHashMap pkg, String arch) {
sh 'env|sort'
}
stage("build") {
try {
checkout scm
sh "make REF=$branch TARGETPLATFORM=${pkg.os}/${config.targetarch} static"
} finally {
checkout scm
sh "make REF=$branch TARGETPLATFORM=${pkg.os}/${config.targetarch} static"
}
post {
always {
archiveArtifacts artifacts: 'static/build/bundles-*.tar.gz', onlyIfSuccessful: true, fingerprint: true
sh "make clean"
}
}
Expand Down

0 comments on commit 9515153

Please sign in to comment.