From 83f6d58557c3e7e97f4ab77bbab3f66ac8ecdd05 Mon Sep 17 00:00:00 2001 From: Vanessa Rene Valderrama Date: Thu, 24 Oct 2019 12:01:44 -0500 Subject: Modify log script for hung jobs issue Modifying the log script to stop wget from appeading to the logs while downloading the logs which can create an endless loop. Change-Id: I2ea6de9ebcccd60001c3993f45e28a2b8439748b Signed-off-by: Vanessa Rene Valderrama --- jjb/include-raw-deploy-archives.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jjb') diff --git a/jjb/include-raw-deploy-archives.sh b/jjb/include-raw-deploy-archives.sh index dd8daebcf..a563d309c 100644 --- a/jjb/include-raw-deploy-archives.sh +++ b/jjb/include-raw-deploy-archives.sh @@ -89,8 +89,8 @@ touch $ARCHIVES_DIR/_sys-info.txt # Magic string used to trim console logs at the appropriate level during wget echo "-----END_OF_BUILD-----" -wget -O $ARCHIVES_DIR/console.log ${{BUILD_URL}}consoleText -wget -O $ARCHIVES_DIR/console-timestamp.log ${{BUILD_URL}}/timestamps?time=HH:mm:ss\&appendLog +wget -q -O $ARCHIVES_DIR/console.log ${{BUILD_URL}}consoleText +wget -q -O $ARCHIVES_DIR/console-timestamp.log ${{BUILD_URL}}/timestamps?time=HH:mm:ss\&appendLog sed -i '/^-----END_OF_BUILD-----$/,$d' $ARCHIVES_DIR/console.log sed -i '/^.*-----END_OF_BUILD-----$/,$d' $ARCHIVES_DIR/console-timestamp.log -- cgit 1.2.3-korg