Rename _console-output.log to console.log 76/4076/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 19 Oct 2016 17:34:04 +0000 (13:34 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 4 Mar 2017 19:22:23 +0000 (14:22 -0500)
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 <thanh.ha@linuxfoundation.org>
include-raw-deploy-archives.sh

index af35a3a..3873406 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 -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