Skip to content

Commit

Permalink
Jenkinsfile: also build static binaries on ubuntu
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 Jun 22, 2022
1 parent a209912 commit 7d7627b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ def generatePackageStep(opts, arch) {
sh 'make clean'
withDockerRegistry([url: "", credentialsId: "dockerbuildbot-index.docker.io"]) {
sh "make CREATE_ARCHIVE=1 ${opts.image}"
if (opts.image == "docker.io/library/ubuntu:focal") {
// also build static packages
sh "make CREATE_ARCHIVE=1 ${opts.image} static"
}
}
archiveArtifacts(artifacts: 'archive/*.tar.gz', onlyIfSuccessful: true)
} finally {
Expand Down

0 comments on commit 7d7627b

Please sign in to comment.