lancelot: detect and handle Jenkins CI environment
authorRohan McGovern <rohan.mcgovern@nokia.com>
Mon, 6 Aug 2012 04:19:25 +0000 (14:19 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 6 Aug 2012 14:04:22 +0000 (16:04 +0200)
commitefdc35b680f2700b0326f10708337ff52ddcc143
tree107b393d49a3b77cb83986cfb4987d3bd774d3a6
parentb170668bb88c076ddb5839c32f7bb947a1fbec96
lancelot: detect and handle Jenkins CI environment

Make the test behave in Jenkins similarly as it behaves in Pulse:

  - a test run in Jenkins is not an ad-hoc run

  - the JENKINS_HOME environment variable implies we are running in
    Jenkins

  - the GIT_BRANCH environment variable, set by the Jenkins git plugin,
    is equivalent to PULSE_GIT_BRANCH

  - there is no equivalent to PULSE_TESTR_BRANCH, since testr is no
    longer used

Change-Id: I89ffeec659b4adaab309d8b93ad793ce640029c7
Reviewed-by: aavit <qt_aavit@ovi.com>
tests/baselineserver/shared/baselineprotocol.cpp