diff options
author | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2019-10-24 12:01:44 -0500 |
---|---|---|
committer | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2019-10-24 12:01:44 -0500 |
commit | 83f6d58557c3e7e97f4ab77bbab3f66ac8ecdd05 (patch) | |
tree | 5574854a4e3f13d037d2c2668166ffe1f3305398 /jjb | |
parent | 09bfc2d811a445964a5c7059de1851ab5eca87fc (diff) |
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 <vvalderrama@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/include-raw-deploy-archives.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |