aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
diff options
context:
space:
mode:
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