From cf6054485a1ca2db3faf9154d29906149b885e28 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Fri, 14 Oct 2016 21:01:40 -0400 Subject: [PATCH] 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 --- include-raw-deploy-archives.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.16.6