From 332945d852f7dda4aadc23e0945a9b6f2c3b2a72 Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Sat, 23 Nov 2019 20:48:31 +0100 Subject: [PATCH] Adding parent as upstream trigger --- Jenkinsfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index cd694103..87e2042e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,6 +39,11 @@ def defaultPublishers = [artifactsPublisher(disabled: false), junitPublisher(ign pipeline { agent { label "${LABEL}" } + // Build should also start, if parent has been built successfully + triggers { + upstream(upstreamProjects: 'Archiva-TLP-Gitbox/archiva-parent/master', threshold: hudson.model.Result.SUCCESS) + } + options { disableConcurrentBuilds() durabilityHint('PERFORMANCE_OPTIMIZED')