Created
December 17, 2014 11:38
-
-
Save przodownikR1/749bef7d80e69341086b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def testResultsDir = "$buildDir/test-results/" | |
apply plugin: "sonar-runner" | |
sonarRunner { | |
sonarProperties { | |
property "sonar.projectKey", "${projectName}" | |
property "sonar.projectName", "${projectName}" | |
property "sonar.junit.reportsPath", testResultsDir | |
logger.info("${sonarJdbcUrl} ${sonarJdbcDriverClassName} ${sonarJdbcUsername} ${sonarJdbcPassword} ") | |
// Address of SonarQube server | |
property "sonar.host.url", "${sonarURL}" | |
// SonarQube stores the test results in this database | |
property "sonar.jdbc.url", "${sonarJdbcUrl}" | |
property "sonar.jdbc.driverClassName", "${sonarJdbcDriverClassName}" | |
property "sonar.jdbc.username", "${sonarJdbcUsername}" | |
property "sonar.jdbc.password", "${sonarJdbcPassword}" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment