From 180d06284681ff8276b7b2a14f225d5538253553 Mon Sep 17 00:00:00 2001 From: Dylan Simon Date: Tue, 20 Aug 2019 16:01:55 -0400 Subject: [PATCH] [jenkins] Don't trigger PR builds on upstream changes --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e0a0b2d9..7a42331f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,12 +11,12 @@ def keepInstall = !env.BRANCH_NAME.startsWith("PR-") properties([ disableConcurrentBuilds(), buildDiscarder(logRotator(numToKeepStr: '10', daysToKeepStr: '30')), - pipelineTriggers([ + pipelineTriggers(keepInstall ? [ upstream( threshold: 'SUCCESS', upstreamProjects: triqsProject ) - ]) + ] : []) ]) /* map of all builds to run, populated below */