Skip to content

Commit 1687d7b

Browse files
authored
Merge pull request #41 from oscarbailey-xmos/patch-1
Remove upstream triggers
2 parents 7e6607b + 6d3dc84 commit 1687d7b

1 file changed

Lines changed: 0 additions & 34 deletions

File tree

Jenkinsfile

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -10,40 +10,6 @@ pipeline {
1010
REPO = 'lib_src'
1111
VIEW = "${env.JOB_NAME.contains('PR-') ? REPO+'_'+env.CHANGE_TARGET : REPO+'_'+env.BRANCH_NAME}"
1212
}
13-
triggers {
14-
/* Trigger this Pipeline on changes to the repos dependencies
15-
*
16-
* If this Pipeline is running in a pull request, the triggers are set
17-
* on the base branch the PR is set to merge in to.
18-
*
19-
* Otherwise the triggers are set on the branch of a matching name to the
20-
* one this Pipeline is on.
21-
*/
22-
upstream(
23-
upstreamProjects:
24-
(env.JOB_NAME.contains('PR-') ?
25-
"../lib_gpio/${env.CHANGE_TARGET}," +
26-
"../lib_i2c/${env.CHANGE_TARGET}," +
27-
"../lib_i2s/${env.CHANGE_TARGET}," +
28-
"../lib_logging/${env.CHANGE_TARGET}," +
29-
"../lib_spdif/${env.CHANGE_TARGET}," +
30-
"../lib_xassert/${env.CHANGE_TARGET}," +
31-
"../tools_released/${env.CHANGE_TARGET}," +
32-
"../tools_xmostest/${env.CHANGE_TARGET}," +
33-
"../xdoc_released/${env.CHANGE_TARGET}"
34-
:
35-
"../lib_gpio/${env.BRANCH_NAME}," +
36-
"../lib_i2c/${env.BRANCH_NAME}," +
37-
"../lib_i2s/${env.BRANCH_NAME}," +
38-
"../lib_logging/${env.BRANCH_NAME}," +
39-
"../lib_spdif/${env.BRANCH_NAME}," +
40-
"../lib_xassert/${env.BRANCH_NAME}," +
41-
"../tools_released/${env.BRANCH_NAME}," +
42-
"../tools_xmostest/${env.BRANCH_NAME}," +
43-
"../xdoc_released/${env.BRANCH_NAME}"),
44-
threshold: hudson.model.Result.SUCCESS
45-
)
46-
}
4713
options {
4814
skipDefaultCheckout()
4915
}

0 commit comments

Comments
 (0)