aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-01-09 13:21:44 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-01-09 13:21:44 +0100
commit8f5c4a44748612ebdab8bb3f138dc06a8475d797 (patch)
treef9413f1b5232b97e15e21089cb339ea13bcbc267 /jjb/common
parent8dcc3d9549462c2781cc71f5cd2e81b5cb72860a (diff)
retrieve output and poll status
Change-Id: Ia4f499958d497fabed2f2591ca5e03f81409b901 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common')
-rw-r--r--jjb/common/include-agl-run-test-snapshot.sh28
1 files changed, 27 insertions, 1 deletions
diff --git a/jjb/common/include-agl-run-test-snapshot.sh b/jjb/common/include-agl-run-test-snapshot.sh
index cd4dd78a..b29d786b 100644
--- a/jjb/common/include-agl-run-test-snapshot.sh
+++ b/jjb/common/include-agl-run-test-snapshot.sh
@@ -76,6 +76,32 @@ EOF
#rm ~/.local/token
-lava-tool submit-job https://agl-jenkins-user@porter.automotivelinux.org testjob.yaml
+lava-tool submit-job https://agl-jenkins-user@porter.automotivelinux.org testjob.yaml | tee .myjob
+
+MYJOB=`cat .myjob | sed -e "s#submitted as job id: ##g"`
+
+echo $MYJOB
+
+lava-tool job-status https://agl-jenkins-user@porter.automotivelinux.org testjob.yaml $MYJOB
+lava-tool job-details https://agl-jenkins-user@porter.automotivelinux.org testjob.yaml $MYJOB
+lava-tool job-output https://agl-jenkins-user@porter.automotivelinux.org testjob.yaml $MYJOB
+sleep 10
+lava-tool job-status https://agl-jenkins-user@porter.automotivelinux.org testjob.yaml $MYJOB
+sleep 10
+lava-tool job-status https://agl-jenkins-user@porter.automotivelinux.org testjob.yaml $MYJOB
+sleep 10
+lava-tool job-status https://agl-jenkins-user@porter.automotivelinux.org testjob.yaml $MYJOB
+sleep 10
+lava-tool job-status https://agl-jenkins-user@porter.automotivelinux.org testjob.yaml $MYJOB
+sleep 10
+lava-tool job-status https://agl-jenkins-user@porter.automotivelinux.org testjob.yaml $MYJOB
+sleep 10
+lava-tool job-status https://agl-jenkins-user@porter.automotivelinux.org testjob.yaml $MYJOB
+sleep 10
+lava-tool job-status https://agl-jenkins-user@porter.automotivelinux.org testjob.yaml $MYJOB
+sleep 10
+lava-tool job-details https://agl-jenkins-user@porter.automotivelinux.org testjob.yaml $MYJOB
+
+
# setup \ No newline at end of file