diff options
author | mbeierl <mark.beierl@dell.com> | 2017-02-01 14:27:19 -0500 |
---|---|---|
committer | mbeierl <mark.beierl@dell.com> | 2017-02-01 14:41:49 -0500 |
commit | b64833b08e839691cc0c95aa27b49e7eee83dbe6 (patch) | |
tree | 63e1d8f8a1f51a8cb0f89d725f08bf1df8072db5 /ci/daily.sh | |
parent | ae4a3d47a67dfddd3a222a1f06c3212956567d24 (diff) |
Add URL for results report
Records the URL returned from testresults db.
Changes the URL ref from localhost to external and reports in
daily job.
Change-Id: I0068ea963671fb183779ac20592ba6933647eea0
JIRA: STORPERF-104
Signed-off-by: mbeierl <mark.beierl@dell.com>
Diffstat (limited to 'ci/daily.sh')
-rwxr-xr-x | ci/daily.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ci/daily.sh b/ci/daily.sh index b31f8e6..1e01cb8 100755 --- a/ci/daily.sh +++ b/ci/daily.sh @@ -90,7 +90,6 @@ do | awk '/Status/ {print $2}' | cut -d\" -f2` done - echo ========================================================================== echo Starting full matrix run echo ========================================================================== @@ -112,9 +111,14 @@ do | awk '/Status/ {print $2}' | cut -d\" -f2` done +HREF=`curl -s -X GET "http://127.0.0.1:5000/api/v1.0/jobs?id=$JOB&type=status" \ + | awk '/TestResultURL/ {print $2}' | cut -d\" -f2 | cut -d/ -f4-` + echo "Deleting stack for cleanup" curl -X DELETE --header 'Accept: application/json' 'http://127.0.0.1:5000/api/v1.0/configurations' sudo chmod 777 -R $WORKSPACE/ci/job/carbon +echo "Results published to: http://testresults.opnfv.org/test/$HREF" + exit 0 |