diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2016-07-18 22:00:41 +0530 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2016-07-23 00:18:56 +0530 |
commit | 0e0d527fcf4050bd11d589b65021dda7664eb0ce (patch) | |
tree | 70eb280739e18dad33821e87d8b6ef109fd8a8be | |
parent | 05149993ff68a33e318d45d1ab9a978d68135fb1 (diff) |
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-x | job-metrics/metrics.sh | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/job-metrics/metrics.sh b/job-metrics/metrics.sh index 9b338d9..996f0d4 100755 --- a/job-metrics/metrics.sh +++ b/job-metrics/metrics.sh @@ -1,7 +1,7 @@ -NumberOfBuilds=10 +NumberOfBuilds=30 wget --auth-no-challenge --http-user=vishal.bhoj@linaro.org \ --http-password="$1" --secure-protocol=TLSv1 \ - --no-verbose https://android-build.linaro.org/jenkins/api/xml + --no-verbose https://ci.linaro.org/jenkins/api/xml jobs=$(xml_grep 'url' xml | grep linaro-art | sed "s/<url>//g" | sed "s/<\/url>//g") rm xml* @@ -39,10 +39,7 @@ for job in $jobs; do queue_hrs=$(echo "$queue_avg" / 60000 | bc) total_hrs=$(echo "$total_avg" / 60000 | bc) avg_build_hrs=$(echo "$total_hrs" - "$queue_hrs" | bc) - echo "$job wait time in queue: $queue_hrs" >> results.txt - echo "$job Build time: $avg_build_hrs" >> results.txt + echo "$job (Wait Time) $queue_hrs minutes (Build Time) $avg_build_hrs minutes" >> results.txt rm json* rm xml done - -cat results.txt |