]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
Fixed boolean comparison.
authorMarjan Schiller <marjan.schiller@profitbricks.com>
Fri, 3 May 2013 11:31:40 +0000 (13:31 +0200)
committerMarjan Schiller <marjan.schiller@profitbricks.com>
Fri, 3 May 2013 11:31:40 +0000 (13:31 +0200)
liveboot_gw_autotest.sh

index bfbf451f554e7fd6af6fb5f1c98ac0a06f7e13e2..61c7bc2411e1754e14c6fc8c917379c1ebfff8f3 100755 (executable)
@@ -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