3
0
mirror of https://github.com/triqs/dft_tools synced 2025-04-28 03:04:57 +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([ properties([
disableConcurrentBuilds(), disableConcurrentBuilds(),
buildDiscarder(logRotator(numToKeepStr: '10', daysToKeepStr: '30')), buildDiscarder(logRotator(numToKeepStr: '10', daysToKeepStr: '30')),
pipelineTriggers([ pipelineTriggers(keepInstall ? [
upstream( upstream(
threshold: 'SUCCESS', threshold: 'SUCCESS',
upstreamProjects: triqsProject upstreamProjects: triqsProject
) )
]) ] : [])
]) ])
/* map of all builds to run, populated below */ /* map of all builds to run, populated below */