Adding parent as upstream trigger

This commit is contained in:
Martin Stockhammer 2019-11-23 20:48:31 +01:00
parent 5a080e52e5
commit 332945d852
1 changed files with 5 additions and 0 deletions

5
Jenkinsfile vendored
View File

@ -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')