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 */