From: Thanh Ha Date: Wed, 19 Oct 2016 17:34:04 +0000 (-0400) Subject: Rename _console-output.log to console.log X-Git-Tag: v0.0.6~12 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=0a0bb8e58bac336fc28ed5d21c3bcf7ed20e4990;p=releng%2Flftools.git 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 --- 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