Redirect zip logs to file and store on logs.o.o 76/46976/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 15 Oct 2016 01:01:40 +0000 (21:01 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 15 Oct 2016 01:01:42 +0000 (21:01 -0400)
The zip logs take a lot of the console log lines at the end of a build.
The output might be useful for troubleshooting so lets redirect the
output to a file and store it in logs.opendaylight.org instead of
outputting it to the Jenkins console logs directly.

Change-Id: Ie56d2a5348c9a55854199539e647f21894febe68
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/include-raw-deploy-archives.sh

index 936d3eabc34bf65b39b9493e946869b3db8af013..af35a3ab768612a14c51dcc69d51a8a5418b2cac 100644 (file)
@@ -100,5 +100,5 @@ find $ARCHIVES_DIR -type f -print0 \
                 | cut -d: -f1 \
                 | xargs -d'\n' -r gzip
 
-zip -r archives.zip $JENKINS_HOSTNAME/
+zip -r archives.zip $JENKINS_HOSTNAME/ > $ARCHIVES_DIR/_archives-zip.log
 du -sh archives.zip