From 5a179cd4ac1b3389cbf1fb20d0c25d0ac2f31380 Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Thu, 6 Apr 2017 09:19:37 -0700 Subject: Fix bad JJB escaping The shiplogs script is being included as an include-raw instead of include-raw-escape and therefore any JJB escaping that it may have needs to be removed. Change-Id: I1a883461464eb79a7d6fd73673e994c3abeaa3a0 Signed-off-by: Andrew Grimberg --- jjb/include-raw-deploy-archives.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'jjb') diff --git a/jjb/include-raw-deploy-archives.sh b/jjb/include-raw-deploy-archives.sh index bfe0bcbc7..8f63b0e2f 100644 --- a/jjb/include-raw-deploy-archives.sh +++ b/jjb/include-raw-deploy-archives.sh @@ -56,10 +56,10 @@ EOF mkdir -p $ARCHIVES_DIR mkdir -p $WORKSPACE/archives -if [ ! -z "${{ARCHIVE_ARTIFACTS}}" ]; then +if [ ! -z "${ARCHIVE_ARTIFACTS}" ]; then pushd $WORKSPACE shopt -s globstar # Enable globstar to copy archives - archive_artifacts=$(echo ${{ARCHIVE_ARTIFACTS}}) + archive_artifacts=$(echo ${ARCHIVE_ARTIFACTS}) for f in $archive_artifacts; do echo "Archiving $f" mkdir -p $WORKSPACE/archives/$(dirname $f) @@ -73,7 +73,7 @@ fi # Ignore logging if archives doesn't exist mv $WORKSPACE/archives/ $ARCHIVES_DIR > /dev/null 2>&1 touch $ARCHIVES_DIR/_build-details.txt -echo "build-url: ${{BUILD_URL}}" >> $ARCHIVES_DIR/_build-details.txt +echo "build-url: ${BUILD_URL}" >> $ARCHIVES_DIR/_build-details.txt env > $ARCHIVES_DIR/_build-enviroment-variables.txt # capture system info @@ -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 -O $ARCHIVES_DIR/console.log ${BUILD_URL}consoleText +wget -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 -- cgit 1.2.3-korg