Modify log publisher 68/23268/2
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Tue, 5 Nov 2019 15:50:13 +0000 (09:50 -0600)
committerVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Tue, 5 Nov 2019 15:57:41 +0000 (09:57 -0600)
Adding a timeout to the log publisher script to provide more information
for troubleshooting.

Change-Id: I3c5de3bffdac9be0844a2fa020128bdfde2bd610
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
jjb/include-raw-deploy-archives.sh

index a563d30..073aa3e 100644 (file)
@@ -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 -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
+wget -q --timeout=60 -O $ARCHIVES_DIR/console.log ${{BUILD_URL}}consoleText
+wget -q --timeout=60 -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