Skip to content

Commit 0260d44

Browse files
committed
Set versioneye.projectid correctly
Due to the dot in the variable name it is not possible to pass versioneye.projectid to gradle using a environment variable on Travis.
1 parent c68cc16 commit 0260d44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ before_install:
1717
script:
1818
- ./gradlew check
1919
- ./gradlew sonarqube
20-
- if [ "$TRAVIS_BRANCH" == "master" ] ; then ./gradlew versioneye-update ; fi
20+
- if [ "${TRAVIS_BRANCH}" == "master" ] ; then ./gradlew -Pversioneye.projectid="${VERSIONEYE_PROJECTID}" versioneye-update ; fi
2121

2222
after_success:
2323
- ./travis/publish.sh

0 commit comments

Comments
 (0)