From 0a0bb8e58bac336fc28ed5d21c3bcf7ed20e4990 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Wed, 19 Oct 2016 13:34:04 -0400 Subject: [PATCH] Rename _console-output.log to console.log This allows someone to take a url like: https://jenkins.opendaylight.org/releng/job/example-job/253/console and convert it to https://logs.oopendaylight.org/releng/jenkins092/example-job/253/console and be able to expect to see the console logs despite the BASE_URL changing. Change-Id: I093f851f816cc71a55cbadbfd085b58baa289835 Signed-off-by: Thanh Ha --- include-raw-deploy-archives.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include-raw-deploy-archives.sh b/include-raw-deploy-archives.sh index af35a3ab..3873406f 100644 --- a/include-raw-deploy-archives.sh +++ b/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-output.log ${{BUILD_URL}}consoleText -sed -i '/^-----END_OF_BUILD-----$/,$d' $ARCHIVES_DIR/_console-output.log +wget -O $ARCHIVES_DIR/console.log ${{BUILD_URL}}consoleText +sed -i '/^-----END_OF_BUILD-----$/,$d' $ARCHIVES_DIR/console.log gzip $ARCHIVES_DIR/*.txt $ARCHIVES_DIR/*.log # find and gzip any 'text' files -- 2.16.6