Code Review
/
ci-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ta: iso deploy: Fix artifact name in checksum file
[ci-management.git]
/
jjb
/
shell
/
run_bluval.sh
diff --git
a/jjb/shell/run_bluval.sh
b/jjb/shell/run_bluval.sh
index
5f0c4db
..
5870ed9
100755
(executable)
--- a/
jjb/shell/run_bluval.sh
+++ b/
jjb/shell/run_bluval.sh
@@
-14,6
+14,12
@@
set -o pipefail
cwd=$(pwd)
is_optional="false"
cwd=$(pwd)
is_optional="false"
+finish() {
+ # Fix ownership of output files
+ user_id=$(stat -c '%u:%g' $cwd)
+ sudo chown -R ${user_id} $results_dir
+}
+
info () {
logger -s -t "run_blu_val.info" "$*"
}
info () {
logger -s -t "run_blu_val.info" "$*"
}
@@
-112,6
+118,8
@@
then
fi
fi
fi
fi
+trap finish EXIT
+
if [ ! -d "$cwd/validation" ]
then
git clone http://gerrit.akraino.org/r/validation
if [ ! -d "$cwd/validation" ]
then
git clone http://gerrit.akraino.org/r/validation