From ba1917abb2f7213caf431c3f2d5d1d5ac827c72e Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sat, 21 Dec 2024 15:24:26 -0600 Subject: [PATCH] ci: Trigger cross build on success When the "base" image finishes building, Jenkins will start building a new "cross" image on top of it. --- ci/Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 44d9a74..05556cb 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -55,6 +55,10 @@ pipeline { } post { + success { + build "${BRANCH_NAME.replace('base/', 'cross%2F')}" + } + failure { sh 'unshare -Ur --map-auto chown root:root -R tmp log' dir('tmp/portage') {