From c7adc9128a6d8e4e825cb9adee35bb456345351d Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sat, 6 Mar 2021 14:35:07 +0000 Subject: [PATCH] Schutzbot: don't block on container build Move the container build to the same phase as the RPM builds. This does not make a huge difference, but should shave off about two minutes of total CI runtime. --- schutzbot/Jenkinsfile | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/schutzbot/Jenkinsfile b/schutzbot/Jenkinsfile index c666fb6d9..b7cb75f7f 100644 --- a/schutzbot/Jenkinsfile +++ b/schutzbot/Jenkinsfile @@ -165,7 +165,18 @@ pipeline { } } } + stage("Container build - x86_64") { + when { + expression { + return env.BUILD_CAUSE != 'cron'; + } + } + agent { label "f33cloudbase && x86_64 && aws" } + steps { + sh "schutzbot/containerbuild.sh" + } + } } } @@ -203,19 +214,6 @@ pipeline { } } - stage("Container build - x86_64") { - when { - expression { - return env.BUILD_CAUSE != 'cron'; - } - } - - agent { label "f33cloudbase && x86_64 && aws" } - steps { - sh "schutzbot/containerbuild.sh" - } - } - stage("Testing 🍌") { parallel {