ci: Trigger cross build on success
Aimee OS/container-images/pipeline/head There was a failure building this commit Details

When the "base" image finishes building, Jenkins will start building a
new "cross" image on top of it.
base/main
Dustin 2024-12-21 15:24:26 -06:00
parent 06b65957c0
commit ba1917abb2
1 changed files with 4 additions and 0 deletions

4
ci/Jenkinsfile vendored
View File

@ -55,6 +55,10 @@ pipeline {
} }
post { post {
success {
build "${BRANCH_NAME.replace('base/', 'cross%2F')}"
}
failure { failure {
sh 'unshare -Ur --map-auto chown root:root -R tmp log' sh 'unshare -Ur --map-auto chown root:root -R tmp log'
dir('tmp/portage') { dir('tmp/portage') {