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
Merge "iec: Stop upstream job if IEC installation fails"
[ci-management.git]
/
jjb
/
iec
/
iec-compass-deploy.sh
diff --git
a/jjb/iec/iec-compass-deploy.sh
b/jjb/iec/iec-compass-deploy.sh
index
9db4c0b
..
443c115
100755
(executable)
--- a/
jjb/iec/iec-compass-deploy.sh
+++ b/
jjb/iec/iec-compass-deploy.sh
@@
-46,4
+46,6
@@
echo "Compass Deploy successful"
rm -rf "$COMPASS_WORK_DIR"
rm -rf work
rm -rf "$COMPASS_WORK_DIR"
rm -rf work
+# Fix permissions so we can archive log files before pushing to Nexus
+sudo chown $(id -u):$(id -g) -R "${WORKSPACE}"
exit 0
exit 0