diff options
author | 2020-08-20 23:01:02 +0200 | |
---|---|---|
committer | 2020-08-21 13:45:14 +0200 | |
commit | ef6368553ae38f820cb5701c595554feadd3ed56 (patch) | |
tree | 785f710813521ed4778588ddd6badd8bd001531b /jjb/common/include-agl-lava-jobs-submit.sh | |
parent | 11eba128ad953624fde3b346e5d2a3cfb65ac591 (diff) |
Fix typo in message.
Change-Id: Ic30c9838a307cb074a669c2373a76d4f250533bd
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 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh index 2024bc51..830c30a4 100644 --- a/jjb/common/include-agl-lava-jobs-submit.sh +++ b/jjb/common/include-agl-lava-jobs-submit.sh @@ -47,8 +47,15 @@ echo "" echo "####################################################" echo "" +cat << EOF > .msg +Submitted as job: $JOB_URL +EOF +# escape +sed -i -e "s/ /\\\ /g" .msg #### echo back to gerrit -eval ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} -n NONE --message="Submitted\ to\ LAVA\ as\ job:\ \$JOB_URL" || true +#set -x +eval ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${GERRIT_CHANGE_NUMBER},${GERRIT_PATCHSET_NUMBER} -n NONE --message='"$(cat .msg)"' || true +#set +x # use lavacli wait job instead of the polling. |