Skip to content
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.

Commit

Permalink
put sonar back in business
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-sandor committed Jun 10, 2016
1 parent bb21529 commit fc3db15
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ buildscript {

plugins {
id 'idea'
//id "org.sonarqube" version "1.2"
id "org.sonarqube" version "1.2"
id 'net.researchgate.release' version '2.3.5'
}

Expand All @@ -43,12 +43,12 @@ idea {
}
}

//sonarqube {
// properties {
// property "sonar.sourceEncoding", "UTF-8"
// property "sonar.jacoco.reportPath", "${buildDir}/jacoco/test.exec"
// }
//}
sonarqube {
properties {
property "sonar.sourceEncoding", "UTF-8"
property "sonar.jacoco.reportPath", "${buildDir}/jacoco/test.exec"
}
}

task checkDockerAuthentication << {
// command below return 1 when user is not logged in to Docker Hub
Expand Down
2 changes: 1 addition & 1 deletion travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ if [ "${TRAVIS_PULL_REQUEST}" == "false" ] && [ "${TRAVIS_BRANCH}" == "master" ]
GH_SONARQ_PARAMS="jacocoTestReport sonarqube -Dsonar.host.url=$SQ_URL -Dsonar.jdbc.url=$SQ_JDBC_URL -Dsonar.jdbc.driverClassName=org.postgresql.Driver -Dsonar.jdbc.user=$SQ_JDBC_USER -Dsonar.jdbc.password=$SQ_JDBC_PASSWORD"
fi

./gradlew --info --stacktrace clean build
./gradlew --info --stacktrace clean build $GH_SONARQ_PARAMS

0 comments on commit fc3db15

Please sign in to comment.