[ARVADOS-DEV] updated: a4b2f2a216800878e6dad3aa81fba92e11fb0431
git at public.curoverse.com
git at public.curoverse.com
Thu May 21 10:48:46 EDT 2015
Summary of changes:
jenkins/create-plot-data-from-log.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
via a4b2f2a216800878e6dad3aa81fba92e11fb0431 (commit)
from cfb3c4554ed688285e3cb6a827f13406f4ad80e3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit a4b2f2a216800878e6dad3aa81fba92e11fb0431
Author: Nico Cesar <nico at nicocesar.com>
Date: Thu May 21 10:48:36 2015 -0400
no more trailing spaces
diff --git a/jenkins/create-plot-data-from-log.sh b/jenkins/create-plot-data-from-log.sh
index ed5ee53..9377598 100755
--- a/jenkins/create-plot-data-from-log.sh
+++ b/jenkins/create-plot-data-from-log.sh
@@ -12,7 +12,7 @@ usage() {
if [ $# -ne 3 ]
then
- usage
+ usage
exit 1
fi
@@ -33,7 +33,7 @@ fi
## MAXLINE is the amount of lines that will read after the pattern
## is match (the logfile could be hundred thousands lines long).
## 1000 should be safe enough to capture all the output of the individual test
-MAXLINES=1000
+MAXLINES=1000
## TODO: check $build and $file make sense
@@ -46,12 +46,12 @@ do
(zgrep -i -E -A$MAXLINES "^[A-Za-z0-9]+Test: $test" $file && echo "----") | tail -n +1 | tail --lines=+3|grep -B$MAXLINES -E "^-*$" -m1 > $outputdir/$cleaned_test-$build.txt
result=$?
if [ $result -eq 0 ]
- then
+ then
echo processing $outputdir/$cleaned_test-$build.txt creating $outputdir/$cleaned_test.csv
echo $(grep ^Completed $outputdir/$cleaned_test-$build.txt | perl -n -e '/^Completed (.*) in [0-9]+ms.*$/;print "".++$line."-$1,";' | perl -p -e 's/,$//g'|tr " " "_" ) > $outputdir/$cleaned_test.csv
echo $(grep ^Completed $outputdir/$cleaned_test-$build.txt | perl -n -e '/^Completed.*in ([0-9]+)ms.*$/;print "$1,";' | perl -p -e 's/,$//g' ) >> $outputdir/$cleaned_test.csv
#echo URL=https://ci.curoverse.com/view/job/arvados-api-server/ws/apps/workbench/log/$cleaned_test-$build.txt/*view*/ >> $outputdir/$test.properties
- else
+ else
echo "$test was't found on $file"
fi
done
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list