Browse Source

--stacktrace for Sonar

pull/4893/merge
Rob Winch 8 years ago
parent
commit
8db41665a9
  1. 4
      Jenkinsfile

4
Jenkinsfile vendored

@ -14,7 +14,7 @@ try { @@ -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 { @@ -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

Loading…
Cancel
Save