From 322ff4cabcdd28d82d93e7c864e754c6c0a45b2d Mon Sep 17 00:00:00 2001 From: Johannes Visintini Date: Wed, 21 May 2025 17:28:26 +0200 Subject: [PATCH] build(ci): trigger a deploy of the test API after a successful build --- Jenkinsfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index e60dc1a8e..dab113694 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -105,6 +105,19 @@ pipeline { } } + stage('(Re)Deploy Test API') { + when { + expression { + return env.BRANCH_NAME ==~ SNAPSHOT_BRANCH_REGEX + } + } + steps { + script { + build job: 'oqapi Deployment/main', wait: false + } + } + } + stage('Wrapping Up') { steps { encourage()