diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-10-30 04:38:59 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-10-30 04:43:38 +0100 |
commit | 6d9ba13ef03438189ba0bc52bb27166b80cc1cd1 (patch) | |
tree | a0f669c7bd2e555e3021a442ec5668de16945bd7 /jobs/gerrit-verifications.yml | |
parent | 4280b49da8a9a93fddcaf8d624eeaf527a6af684 (diff) |
jobs: fix multiline cmds with less-indented first line comments
Interestingly enough, only a line that has more indenting than the first line
also receives an actual newline in the resulting jenkins Execute Shell section.
Hence insert '# keep first line with less indent' comments.
Change-Id: I13bcb41fa0e59b60a201c2b769bad42067e34ab8
Diffstat (limited to 'jobs/gerrit-verifications.yml')
-rw-r--r-- | jobs/gerrit-verifications.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml index 969b483..cabd5ca 100644 --- a/jobs/gerrit-verifications.yml +++ b/jobs/gerrit-verifications.yml @@ -51,6 +51,7 @@ a1: !!python/tuple [arm-none-eabi, amd64] combination_filter: '!(arch=="arm-none-eabi" && label=="FreeBSD_amd64")' cmd: > + # keep first line with less indent to preserve newlines if [[ "$JOB_NAME" == *"arch=arm-none-eabi,label=linux_amd64_debian8"* ]]; then ./contrib/jenkins-arm.sh else @@ -68,9 +69,9 @@ a3_name: IU a3: !!python/tuple [--disable-iu] cmd: > + # keep first line with less indent to preserve newlines ARTIFACT_STORE="$HOME/jenkins_build_artifact_store" mkdir -p "$ARTIFACT_STORE" - docker run --rm=true -e HOME=/build -e ARTIFACT_STORE=/artifact_store \ -e JOB_NAME="$JOB_NAME" -e MAKE=make -e PARALLEL_MAKE="$PARALLEL_MAKE" \ -e IU="$IU" -e SMPP="$SMPP" -e MGCP="$MGCP" -e PATH="$PATH:/build_bin" \ @@ -127,9 +128,9 @@ a1_name: IU a1: !!python/tuple [--enable-iu, --disable-iu] cmd: > + # keep first line with less indent to preserve newlines ARTIFACT_STORE="$HOME/jenkins_build_artifact_store" mkdir -p "$ARTIFACT_STORE" - docker run --rm=true -i -e HOME=/build -e ARTIFACT_STORE=/artifact_store \ -e JOB_NAME="$JOB_NAME" -e MAKE=make -e PARALLEL_MAKE="$PARALLEL_MAKE" \ -e IU="$IU" -e PATH="$PATH:/build_bin" -e OSMOPY_DEBUG_TCP_SOCKETS="1" \ |