aboutsummaryrefslogtreecommitdiffstats
path: root/jobs
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-12-09 02:16:15 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2017-12-09 02:18:04 +0100
commit3e69d3d7d4ac948e71e7d237ce207a4e671e06b2 (patch)
tree983a1fc2c4a6a99b1c82b5856d8b96068f70ee8b /jobs
parent28564a6977cd60085d67b48b8a08d8ba3848fd6a (diff)
jobs: master: fix post-build trigger of downstream jobs
Firstly, we don't have the downstream-ext plugin installed on our jenkins. We want to use the 'trigger' publisher instead. Secondly, since the jobs created here are called master-*, we also want to trigger master-*. master-libosmocore also triggers SIMtrace and xgoldmon, which aren't covered by this jobs config, hence they don't get a master- prefix. Change-Id: If9e8c4b02fce34fddceb4f07bf024210600f6270
Diffstat (limited to 'jobs')
-rw-r--r--jobs/master-builds.yml67
1 files changed, 14 insertions, 53 deletions
diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml
index ece5f33..5cec3ab 100644
--- a/jobs/master-builds.yml
+++ b/jobs/master-builds.yml
@@ -19,6 +19,7 @@
combination_filter: ''
# most common build invocation
cmd: ./contrib/jenkins.sh
+ trigger:
# in alphabetical order
repos:
@@ -36,10 +37,7 @@
- libasn1c
- libgtpnl
- libosmo-abis:
- publishers:
- downstream-ext:
- projects:
- - openbsc
+ trigger: master-openbsc
- libosmo-dsp:
cmd: >
@@ -48,26 +46,13 @@
./configure
$MAKE $PARALLEL_MAKE
$MAKE distcheck
- publishers:
- downstream-ext:
- projects:
- - osmo-gmr
+ trigger: master-osmo-gmr
- libosmo-netif:
- publishers:
- downstream-ext:
- projects:
- - libosmo-sccp
- - openbsc
- - osmo-mgw
+ trigger: master-libosmo-sccp, master-osmo-mgw, master-openbsc
- libosmo-sccp:
- publishers:
- downstream-ext:
- projects:
- - openbsc
- - osmo-iuh
- - osmo-bsc
+ trigger: master-osmo-iuh, master-osmo-bsc, master-openbsc
- libosmocore:
a1_name: arch
@@ -80,27 +65,12 @@
else
./contrib/jenkins.sh
fi
- publishers:
- downstream-ext:
- projects:
- - libosmo-sccp
- - libosmo-abis
- - openbsc
- - osmo-pcap
- - OsmoTETRA
- - osmo-pcu
- - SIMtrace
- - osmo-gmr
- - osmo-bts
- - OsmocomBB
- - xgoldmon
+ trigger: >
+ master-libosmo-abis, master-libosmo-sccp, master-openbsc, master-osmo-pcap, master-osmo-tetra,
+ master-osmo-pcu, master-osmo-gmr, master-osmo-bts, master-osmocom-bb, SIMtrace, xgoldmon
- libsmpp34:
- publishers:
- downstream-ext:
- projects:
- - openbsc
- - osmo-msc
+ trigger: master-osmo-msc, master-openbsc
- libtelnet
@@ -157,10 +127,7 @@
a1_name: gtp-linux
a1: !!python/tuple [--enable-gtp-linux,--disable-gtp-linux]
cmd: GTP="$GTP" ./contrib/jenkins.sh
- publishers:
- downstream-ext:
- projects:
- - osmo-sgsn
+ trigger: master-osmo-sgsn
- osmo-gmr
@@ -183,11 +150,7 @@
slave_axis: !!python/tuple [linux_amd64_debian8, linux_amd64_debian9]
- osmo-iuh:
- publishers:
- downstream-ext:
- projects:
- - osmo-msc
- - osmo-sgsn
+ trigger: master-osmo-msc, master-osmo-sgsn
- osmo-mgw:
a1_name: MGCP
@@ -199,11 +162,7 @@
-e MGCP="$MGCP" -e PATH="$PATH:/build_bin" -e OSMOPY_DEBUG_TCP_SOCKETS="1" -w /build \
-i -u build -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
osmocom:amd64 /build/contrib/jenkins.sh
- publishers:
- downstream-ext:
- projects:
- - osmo-msc
- - osmo-bsc
+ trigger: master-osmo-msc, master-osmo-bsc
- osmo-msc:
a1_name: IU
@@ -331,5 +290,7 @@
console-log-parsers:
- 'GNU C Compiler 4 (gcc)'
resolve-relative-paths: true
+ - trigger:
+ project: '{obj:trigger}'
# vim: expandtab tabstop=2 shiftwidth=2