diff options
author | 2019-10-14 13:38:32 +0200 | |
---|---|---|
committer | 2019-10-14 13:38:39 +0200 | |
commit | b6ab6adbe6f5f1d378f2b68345578121b4eeaf9f (patch) | |
tree | 60970b3dcef12728fedcc3451227c118088655c8 /jjb/common/include-agl-lava-jobs-submit.sh | |
parent | 2f6c7ddae363238fdeab2e2f36685acaa16ee1c7 (diff) |
Fix escaping for report back to gerrit
Bug-AGL: SPEC-2703
Change-Id: I223a4242942ac9e751f0b6dd3caab0309f2a566a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-agl-lava-jobs-submit.sh')
-rw-r--r-- | jjb/common/include-agl-lava-jobs-submit.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh index c50f5179..154c0124 100644 --- a/jjb/common/include-agl-lava-jobs-submit.sh +++ b/jjb/common/include-agl-lava-jobs-submit.sh @@ -139,7 +139,8 @@ if [ -s job-result.fail ];then handle_skiplist fi -BUILD_LOG_MSG="LOGURL: $BUILD_URL/consoleFull" +set -x +BUILD_LOG_MSG="LOGURL:\ ${BUILD_URL}consoleFull" if [ $GOODJOB -eq 0 ];then # send -1 @@ -148,12 +149,12 @@ else # send +1 ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${GERRIT_CHANGE_NUMBER},${GERRIT_PATCHSET_NUMBER} --verified +1 --label ci-image-boot-test=+1 -n NONE --message="CI-Image-Boot-Test\ success\ on\ ${MACHINE}\ ${BUILD_LOG_MSG}" || true fi +set +x # after one successful submit, we're done if [ x"$status" = x"Complete" ]; then exit 0 fi - #exit 1 # for now do not fail exit 0 |