aboutsummaryrefslogtreecommitdiffstats
path: root/jobs
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-11-01 01:26:29 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2017-11-01 01:26:29 +0100
commitfb06801fee6c1f04913adf2ba7bf6a14f8089fb3 (patch)
tree2147921d4a5a6e0167c6933d2b7a598baeec9e42 /jobs
parentc758c4e1d4fa04feac0aa1aeec49218dc5d9240e (diff)
jobs: gerrit: fix missing indents in 4 jobs
fixed in osmo-bsc, osmo-mgw, osmo-sgsn, cellmgr-ng: Spanning a single shell command across several lines with backslashes in the end breaks when the newlines are not preserved: the backslashes escape a following space, which is joined to the following cmdline arg. Add the leading less-indented comments that curiously lead to preserving the newline characters in the cmd sections. Change-Id: Icfd6cfb7ca4172795620e1d7ee60610db4f7226b
Diffstat (limited to 'jobs')
-rw-r--r--jobs/gerrit-verifications.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml
index 02f5a16..4e48795 100644
--- a/jobs/gerrit-verifications.yml
+++ b/jobs/gerrit-verifications.yml
@@ -29,6 +29,7 @@
- cellmgr-ng:
concurrent: true
cmd: >
+ # keep first line with less indent to preserve newlines
docker run --rm=true -e HOME=/build -e MAKE=make -e PARALLEL_MAKE="$PARALLEL_MAKE" \
-e PATH="$PATH:/build_bin" -w /build \
-i -u build -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
@@ -85,6 +86,7 @@
- osmo-bsc:
cmd: >
+ # keep first line with less indent to preserve newlines
docker run --rm=true -e HOME=/build -e MAKE=make -e PARALLEL_MAKE="$PARALLEL_MAKE" \
-e PATH="$PATH:/build_bin" -e OSMOPY_DEBUG_TCP_SOCKETS="1" -w /build -i -u build \
-v "$PWD:/build" -v "$HOME/bin:/build_bin" \
@@ -120,6 +122,7 @@
a1_name: MGCP
a1: !!python/tuple [--enable-mgcp-transcoding, --disable-mgcp-transcoding]
cmd: >
+ # keep first line with less indent to preserve newlines
docker run --rm=true -e HOME=/build -e MAKE=make -e PARALLEL_MAKE="$PARALLEL_MAKE" \
-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" \
@@ -161,6 +164,7 @@
a1_name: IU
a1: !!python/tuple [--enable-iu, --disable-iu]
cmd: >
+ # keep first line with less indent to preserve newlines
docker run --rm=true -e HOME=/build -e MAKE=make -e PARALLEL_MAKE="$PARALLEL_MAKE" \
-e IU="$IU" -e PATH="$PATH:/build_bin" -e OSMOPY_DEBUG_TCP_SOCKETS="1" -w /build \
-i -u build -v "$PWD:/build" -v "$HOME/bin:/build_bin" \