aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/gerrit-verifications.yml
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-04-12 16:19:46 +0200
committerHarald Welte <laforge@gnumonks.org>2019-04-17 15:35:27 +0000
commit61b9e76cb12f65f52104ded94dfac56e987630a8 (patch)
treea02e76668200d8dcc257cbe37193096d7dac45e1 /jobs/gerrit-verifications.yml
parentdc5fc51c1fa76e64db774ecb9e71fc25ad6c46cd (diff)
jobs: use "cmd: |", not "# keep first line ..."
Adjust README.adoc to mention "cmd: |" instead of the workaround and replace this: cmd: > # keep first line with less indent to preserve newlines docker run ... With that: cmd: | docker run ... Change-Id: I65a06acb76e5d693aa187f9ac38970b73e7fead6
Diffstat (limited to 'jobs/gerrit-verifications.yml')
-rw-r--r--jobs/gerrit-verifications.yml21
1 files changed, 7 insertions, 14 deletions
diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml
index 6128dc5..b2cc1dd 100644
--- a/jobs/gerrit-verifications.yml
+++ b/jobs/gerrit-verifications.yml
@@ -30,8 +30,7 @@
- cellmgr-ng:
concurrent: true
- cmd: >
- # keep first line with less indent to preserve newlines
+ cmd: |
docker run --rm=true \
-e HOME=/build \
-e MAKE=make \
@@ -66,8 +65,7 @@
a3_name: IU
a3: !!python/tuple [--disable-iu]
concurrent: true
- cmd: >
- # keep first line with less indent to preserve newlines
+ cmd: |
ARTIFACT_STORE="$HOME/jenkins_build_artifact_store"
mkdir -p "$ARTIFACT_STORE"
docker run --rm=true \
@@ -95,8 +93,7 @@
- osmo-bsc:
concurrent: true
- cmd: >
- # keep first line with less indent to preserve newlines
+ cmd: |
docker run --rm=true \
-e HOME=/build \
-e MAKE=make \
@@ -147,8 +144,7 @@
- osmo-mgw:
concurrent: true
- cmd: >
- # keep first line with less indent to preserve newlines
+ cmd: |
docker run --rm=true \
-e HOME=/build \
-e MAKE=make \
@@ -169,8 +165,7 @@
combination_filter: >
(IU == "--enable-iu" && WITH_MANUALS == "0") ||
(IU == "--disable-iu" && WITH_MANUALS == "1")
- cmd: >
- # keep first line with less indent to preserve newlines
+ cmd: |
ARTIFACT_STORE="$HOME/jenkins_build_artifact_store"
mkdir -p "$ARTIFACT_STORE"
docker run --rm=true -i \
@@ -221,8 +216,7 @@
combination_filter: >
(IU == "--enable-iu" && WITH_MANUALS == "0") ||
(IU == "--disable-iu" && WITH_MANUALS == "1")
- cmd: >
- # keep first line with less indent to preserve newlines
+ cmd: |
docker run --rm=true \
-e HOME=/build \
-e MAKE=make \
@@ -265,8 +259,7 @@
- osmo-ttcn3-hacks:
repos_url: 'https://gerrit.osmocom.org/{repos}'
slave_axis: !!python/tuple [ttcn3]
- cmd: >
- # keep first line with less indent to preserve newlines
+ cmd: |
set -e
make deps; make clean; make compile