Moved Sonarqube to GitHub action.

This commit is contained in:
Erik C. Thauvin 2021-05-19 22:52:19 -07:00
parent 6f15433034
commit 37789dc633
4 changed files with 48 additions and 13 deletions

View file

@ -93,6 +93,7 @@ clean {
test {
testLogging {
exceptionFormat "full"
events "passed", "skipped", "failed"
}
useTestNG()
@ -178,7 +179,7 @@ task copyToDeploy(type: Copy) {
}
task deploy(dependsOn: ['clean', 'build', 'copyToDeploy']) {
description = 'Copies all needed files to the ${deployDir} directory.'
description = "Copies all needed files to the ${deployDir} directory."
group = 'Publishing'
outputs.dir deployDir
inputs.files copyToDeploy
@ -219,7 +220,9 @@ jacocoTestReport {
sonarqube {
properties {
property("sonar.projectKey", "ethauvin_HttpStatus")
property "sonar.organization", "ethauvin-github"
property "sonar.projectKey", "ethauvin_semver"
property "sonar.host.url", "https://sonarcloud.io"
property("sonar.sourceEncoding", "UTF-8")
}
}