From a5e701195bcba84b5f3d9d8dff5fea600aacdb88 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 22 Dec 2024 12:22:31 -0600 Subject: [PATCH] ci: Trigger build build on success When the "rust-cross" image finishes building, Jenkins will start building a new "build" image on top of it. --- ci/Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 11bb8a2..6c566a5 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -49,6 +49,10 @@ pipeline { } post { + success { + build "${BRANCH_NAME.replace('rust-cross/', 'build%2F')}" + } + failure { sh 'unshare -Ur --map-auto chown root:root -R tmp log' dir('tmp/portage') {