-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
44 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ pipeline { | |
} | ||
steps {tascar_build_steps("jammy && x86_64 && tascardev")} | ||
} | ||
stage( "focal && x86_64 && tascardev") { | ||
stage( "focal && x86_64 && tascardev") { | ||
agent { | ||
docker { | ||
image "hoertech/docker-buildenv:tascar_x86_64-linux-gcc-9" | ||
|
@@ -53,7 +53,7 @@ pipeline { | |
} | ||
steps {tascar_build_steps("focal && x86_64 && tascardev")} | ||
} | ||
stage( "bionic && x86_64 && tascardev") { | ||
stage( "bionic && x86_64 && tascardev") { | ||
agent { | ||
docker { | ||
image "hoertech/docker-buildenv:tascar_x86_64-linux-gcc-7" | ||
|
@@ -64,45 +64,69 @@ pipeline { | |
} | ||
steps {tascar_build_steps("bionic && x86_64 && tascardev")} | ||
} | ||
stage( "bionic && armv7 && tascardev") { | ||
agent {label "bionic && armv7 && tascardev"} | ||
stage( "bionic && armv7 && tascardev") { | ||
agent { | ||
docker { | ||
image "hoertech/docker-buildenv:tascar_armv7-linux-gcc-7" | ||
label "docker_qemu" | ||
alwaysPull true | ||
args "-v /home/u:/home/u --hostname docker" | ||
} | ||
} | ||
//agent {label "bionic && armv7 && tascardev"} | ||
steps {tascar_build_steps("bionic && armv7 && tascardev")} | ||
} | ||
stage( "bullseye && armv7 && tascardev") { | ||
agent {label "bullseye && armv7 && tascardev"} | ||
agent { | ||
docker { | ||
image "hoertech/docker-buildenv:tascar_armv7-linux-gcc-10" | ||
label "docker_qemu" | ||
alwaysPull true | ||
args "-v /home/u:/home/u --hostname docker" | ||
} | ||
} | ||
//agent {label "bullseye && armv7 && tascardev"} | ||
steps {tascar_build_steps("bullseye && armv7 && tascardev")} | ||
} | ||
stage( "bullseye && aarch64 && tascardev") { | ||
agent {label "bullseye && aarch64 && tascardev"} | ||
agent { | ||
docker { | ||
image "hoertech/docker-buildenv:tascar_aarch64-linux-gcc-10" | ||
label "docker_qemu" | ||
alwaysPull true | ||
args "-v /home/u:/home/u --hostname docker" | ||
} | ||
} | ||
//agent {label "bullseye && aarch64 && tascardev"} | ||
steps {tascar_build_steps("bullseye && aarch64 && tascardev")} | ||
} | ||
} | ||
} | ||
stage("artifacts") { | ||
agent {label "aptly"} | ||
// do not publish packages for any branches except these | ||
when { anyOf { branch 'master'; branch 'development' } } | ||
steps { | ||
} | ||
} | ||
stage("artifacts") { | ||
agent {label "aptly"} | ||
// do not publish packages for any branches except these | ||
when { anyOf { branch 'master'; branch 'development' } } | ||
steps { | ||
// receive all deb packages from tascarpro build | ||
unstash "x86_64_jammy" | ||
unstash "x86_64_focal" | ||
unstash "x86_64_bionic" | ||
unstash "armv7_bullseye" | ||
unstash "aarch64_bullseye" | ||
unstash "armv7_bionic" | ||
|
||
// Copies the new debs to the stash of existing debs, | ||
sh "make -f htchstorage.mk storage" | ||
|
||
build job: "/Packaging/hoertech-aptly/$BRANCH_NAME", quietPeriod: 300, wait: false | ||
} | ||
} | ||
} | ||
} | ||
} | ||
post { | ||
failure { | ||
mail to: '[email protected]', | ||
subject: "Failed Pipeline: ${currentBuild.fullDisplayName}", | ||
body: "Something is wrong with ${env.BUILD_URL} ($GIT_URL)" | ||
mail to: '[email protected]', | ||
subject: "Failed Pipeline: ${currentBuild.fullDisplayName}", | ||
body: "Something is wrong with ${env.BUILD_URL} ($GIT_URL)" | ||
} | ||
} | ||
} |