diff --git a/Jenkinsfile b/Jenkinsfile index 044d9bfe..10ed3fc0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,44 +8,6 @@ pipeline { REPO = 'lib_xua' 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-') ? - "../lib_device_control/${env.CHANGE_TARGET}," + - "../lib_dsp/${env.CHANGE_TARGET}," + - "../lib_i2c/${env.CHANGE_TARGET}," + - "../lib_logging/${env.CHANGE_TARGET}," + - "../lib_mic_array/${env.CHANGE_TARGET}," + - "../lib_spdif/${env.CHANGE_TARGET}," + - "../lib_xassert/${env.CHANGE_TARGET}," + - "../lib_xud/${env.CHANGE_TARGET}," + - "../tools_released/${env.CHANGE_TARGET}," + - "../tools_xmostest/${env.CHANGE_TARGET}," + - "../xdoc_released/${env.CHANGE_TARGET}" - : - "../lib_device_control/${env.BRANCH_NAME}," + - "../lib_dsp/${env.BRANCH_NAME}," + - "../lib_i2c/${env.BRANCH_NAME}," + - "../lib_logging/${env.BRANCH_NAME}," + - "../lib_mic_array/${env.BRANCH_NAME}," + - "../lib_spdif/${env.BRANCH_NAME}," + - "../lib_xassert/${env.BRANCH_NAME}," + - "../lib_xud/${env.BRANCH_NAME}," + - "../tools_released/${env.BRANCH_NAME}," + - "../tools_xmostest/${env.BRANCH_NAME}," + - "../xdoc_released/${env.BRANCH_NAME}"), - threshold: hudson.model.Result.SUCCESS - ) - } options { skipDefaultCheckout() }