diff --git a/Jenkinsfile b/Jenkinsfile index 34fc2420..6838f5f7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,9 +4,13 @@ properties([ booleanParam(name: 'CLEAN_WORKSPACE', defaultValue: true, description: 'Clean the workspace at the end of the run') ]), pipelineTriggers([ - [$class: "GitHubPushTrigger"] + [$class: "GitHubPushTrigger"], + [ + $class: 'jenkins.triggers.ReverseBuildTrigger', + upstreamProjects: "ossim-batch-test-multibranch/${BRANCH_NAME}", threshold: hudson.model.Result.SUCCESS + ] ]), - [$class: 'GithubProjectProperty', displayName: '', projectUrlStr: 'https://github.com/ossimlabs/omar-oms'], + [$class: 'GithubProjectProperty', displayName: '', projectUrlStr: 'https://github.com/ossimlabs/omar-oms'], buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '3', daysToKeepStr: '', numToKeepStr: '20')), disableConcurrentBuilds() ])