diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2020-08-20 22:19:04 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2020-08-20 22:20:46 +0200 |
commit | 8abcae21d30008da8f72b195f60a21019767e51a (patch) | |
tree | aec7f7afbb07cf1e6b84e296771f7cd79afca60b /jjb | |
parent | aaff4be8cd1ef31a4c4204c6b3ef87a62b10fede (diff) |
Do message LAVA URL back to gerrit.
Change-Id: I6cb8ce991e03ce7656d76eb7b82832f6bdd82a7c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/common/include-agl-lava-jobs-submit.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh index 912487dc..2024bc51 100644 --- a/jjb/common/include-agl-lava-jobs-submit.sh +++ b/jjb/common/include-agl-lava-jobs-submit.sh @@ -47,6 +47,10 @@ echo "" echo "####################################################" echo "" +#### 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 + + # use lavacli wait job instead of the polling. lavacli -i $lab jobs wait $job_id --timeout 7200 || true lavacli -i $lab jobs show $job_id --yaml > $JOB_STATUS |