From: Tom Date: Tue, 30 Jan 2018 16:45:22 +0000 (+0100) Subject: Allow dogfood on other destination than next X-Git-Tag: 7.5~1743 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2ee63dead2452afb3deaf7593b7b524d65dbca9f;p=sonarqube.git Allow dogfood on other destination than next --- diff --git a/travis.sh b/travis.sh index 27f69783431..9ad2e069f49 100755 --- a/travis.sh +++ b/travis.sh @@ -193,7 +193,7 @@ BUILD) -Dsonar.pullrequest.github.id=$TRAVIS_PULL_REQUEST \ -Dsonar.pullrequest.github.repository=$TRAVIS_REPO_SLUG - elif [[ "$TRAVIS_BRANCH" == "dogfood-on-next" ]] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then + elif [[ "$TRAVIS_BRANCH" == "dogfood-on-"* ]] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo 'Build dogfood branch' mvn org.jacoco:jacoco-maven-plugin:prepare-agent deploy \