3
0
mirror of https://github.com/triqs/dft_tools synced 2024-07-11 13:53:47 +02:00

[jenkins] Don't trigger PR builds on upstream changes

This commit is contained in:
Dylan Simon 2019-08-20 16:01:55 -04:00
parent c87aceed37
commit 180d062846

4
Jenkinsfile vendored
View File

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