From 2f14c8522cabebb0d18358f2212e99846ce367d5 Mon Sep 17 00:00:00 2001 From: oscarbailey-xmos <40995889+oscarbailey-xmos@users.noreply.github.com> Date: Fri, 8 Nov 2019 12:07:20 +0000 Subject: [PATCH] Remove upstream triggers --- Jenkinsfile | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fd61001..a1b9a51 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,28 +10,6 @@ pipeline { REPO = 'lib_xassert' VIEW = "${env.JOB_NAME.contains('PR-') ? REPO+'_'+env.CHANGE_TARGET : REPO+'_'+env.BRANCH_NAME}" } - triggers { - /* Trigger this Pipeline on changes to the repos dependencies - * - * If this Pipeline is running in a pull request, the triggers are set - * on the base branch the PR is set to merge in to. - * - * Otherwise the triggers are set on the branch of a matching name to the - * one this Pipeline is on. - */ - upstream( - upstreamProjects: - (env.JOB_NAME.contains('PR-') ? - "../tools_released/${env.CHANGE_TARGET}," + - "../tools_xmostest/${env.CHANGE_TARGET}," + - "../xdoc_released/${env.CHANGE_TARGET}" - : - "../tools_released/${env.BRANCH_NAME}," + - "../tools_xmostest/${env.BRANCH_NAME}," + - "../xdoc_released/${env.BRANCH_NAME}"), - threshold: hudson.model.Result.SUCCESS - ) - } options { skipDefaultCheckout() }