From: Marjan Schiller Date: Fri, 3 May 2013 11:31:40 +0000 (+0200) Subject: Fixed boolean comparison. X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=36a196da1df5d69278422f6954fd1d4315d553b3;p=profitbricks%2Fjenkins-build-scripts.git Fixed boolean comparison. --- diff --git a/liveboot_gw_autotest.sh b/liveboot_gw_autotest.sh index bfbf451..61c7bc2 100755 --- a/liveboot_gw_autotest.sh +++ b/liveboot_gw_autotest.sh @@ -71,7 +71,7 @@ ssh -t $CORE_ROUTER "cd /opt/autotest ; git checkout ${AUTOTEST_BRANCH}" # call autotest suite w/ testlink connector info ssh -t -A $CORE_ROUTER "cd /opt/autotest ; ./compile.sh" -if [ ${REPORT_TO_TESTLINK} -eq 0 ]; then +if [ ${REPORT_TO_TESTLINK} == "true" ]; then echo "Report Results to TestLink..." ssh -t -A $CORE_ROUTER "cd /opt/autotest ; java -ea -jar dist/lib/AutoTest.jar --testlink='Profitbricks,R&I Liveboot Approval Autotest,liveboot-${LIVEBOOT_BUILD_NUMBER},R&I HW Test Bed'" else