From: Thanh Ha Date: Sat, 15 Oct 2016 01:01:40 +0000 (-0400) Subject: Redirect zip logs to file and store on logs.o.o X-Git-Tag: v0.0.6~13 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F77%2F4077%2F1;p=releng%2Flftools.git Redirect zip logs to file and store on logs.o.o 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 --- diff --git a/include-raw-deploy-archives.sh b/include-raw-deploy-archives.sh index 936d3eab..af35a3ab 100644 --- a/include-raw-deploy-archives.sh +++ b/include-raw-deploy-archives.sh @@ -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