summaryrefslogtreecommitdiffstats
path: root/jjb/include-raw-deploy-archives.sh
diff options
context:
space:
mode:
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>2019-11-05 09:50:13 -0600
committerVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>2019-11-05 09:57:41 -0600
commit8a022e80069e366efe4380c5df1c013638545fe0 (patch)
treefef8504f47cd961917ace64e723e74e074840c49 /jjb/include-raw-deploy-archives.sh
parent727817c1865fd6894cba1e88be8d762851f1a41d (diff)
Modify log publisher
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>
Diffstat (limited to 'jjb/include-raw-deploy-archives.sh')
-rw-r--r--jjb/include-raw-deploy-archives.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/include-raw-deploy-archives.sh b/jjb/include-raw-deploy-archives.sh
index a563d309c..073aa3e6d 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 -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