1
0
mirror of synced 2026-08-07 02:38:47 +00:00

--stacktrace for Sonar

This commit is contained in:
Rob Winch
2017-12-12 11:41:21 -06:00
parent e19fdb6cc1
commit 8db41665a9
Vendored
+2 -2
View File
@@ -14,7 +14,7 @@ try {
node {
checkout scm
try {
sh "./gradlew clean check --refresh-dependencies --no-daemon"
sh "./gradlew clean check --refresh-dependencies --no-daemon --stacktrace"
} catch(Exception e) {
currentBuild.result = 'FAILED: check'
throw e
@@ -30,7 +30,7 @@ try {
checkout scm
withCredentials([string(credentialsId: 'spring-sonar.login', variable: 'SONAR_LOGIN')]) {
try {
sh "./gradlew clean sonarqube -PexcludeProjects='**/samples/**' -Dsonar.host.url=$SPRING_SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN --refresh-dependencies --no-daemon"
sh "./gradlew clean sonarqube -PexcludeProjects='**/samples/**' -Dsonar.host.url=$SPRING_SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN --refresh-dependencies --no-daemon --stacktrace"
} catch(Exception e) {
currentBuild.result = 'FAILED: sonar'
throw e