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 <[email protected]>
  • Loading branch information
thaJeztah committed Jan 30, 2023
1 parent f82ca01 commit 312281b
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 @@ -41,6 +41,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 312281b

Please sign in to comment.