]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
Fix for autotest script
authorMarjan Schiller <marjan.schiller@profitbricks.com>
Wed, 12 Jun 2013 14:57:51 +0000 (16:57 +0200)
committerMarjan Schiller <marjan.schiller@profitbricks.com>
Wed, 12 Jun 2013 14:57:51 +0000 (16:57 +0200)
autotest_result_mail.sh

index c718a8307a9308730c832688ca5681c27af4310f..1d387d4d6fdf4ffca53e4aabe881be4ffbb77bd7 100755 (executable)
@@ -33,8 +33,7 @@ else
 fi
 
 # Replace the place holders
-BUILD_NUMBER_TOKEN="<BUILD_NUMBER>"
-MAIL_CONTENT=${$AUTOTEST_MAIL_CONTENT//$BUILD_NUMBER_TOKEN/$LIVEBOOT_BUILD_NUMBER}
+MAIL_CONTENT=${AUTOTEST_MAIL_CONTENT//<BUILD_NUMBER>/$LIVEBOOT_BUILD_NUMBER}
 
 echo $MAIL_CONTENT
 exit 0