Skip to content

Commit 40b3d07

Browse files
committed
Revert "Add --debug to Jenkinsfile"
This reverts commit 9c4e20f.
1 parent 8c726f2 commit 40b3d07

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

Jenkinsfile

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ try {
1414
node {
1515
checkout scm
1616
try {
17-
sh "./gradlew clean check --refresh-dependencies --no-daemon --debug"
17+
sh "./gradlew clean check --refresh-dependencies --no-daemon"
1818
} catch(Exception e) {
1919
currentBuild.result = 'FAILED: check'
2020
throw e
@@ -24,27 +24,12 @@ try {
2424
}
2525
}
2626
},
27-
sonar: {
28-
stage('Sonar') {
29-
node {
30-
checkout scm
31-
withCredentials([string(credentialsId: 'spring-sonar.login', variable: 'SONAR_LOGIN')]) {
32-
try {
33-
sh "./gradlew clean sonarqube -PexcludeProjects='**/samples/**' -Dsonar.host.url=$SPRING_SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN --refresh-dependencies --no-daemon --debug"
34-
} catch(Exception e) {
35-
currentBuild.result = 'FAILED: sonar'
36-
throw e
37-
}
38-
}
39-
}
40-
}
41-
},
4227
springio: {
4328
stage('Spring IO') {
4429
node {
4530
checkout scm
4631
try {
47-
sh "./gradlew clean springIoCheck -PplatformVersion=Cairo-BUILD-SNAPSHOT -PexcludeProjects='**/samples/**' --refresh-dependencies --no-daemon --stacktrace --debug"
32+
sh "./gradlew clean springIoCheck -PplatformVersion=Cairo-BUILD-SNAPSHOT -PexcludeProjects='**/samples/**' --refresh-dependencies --no-daemon --stacktrace"
4833
} catch(Exception e) {
4934
currentBuild.result = 'FAILED: springio'
5035
throw e
@@ -61,7 +46,7 @@ try {
6146
node {
6247
checkout scm
6348
withCredentials([usernamePassword(credentialsId: '02bd1690-b54f-4c9f-819d-a77cb7a9822c', usernameVariable: 'ARTIFACTORY_USERNAME', passwordVariable: 'ARTIFACTORY_PASSWORD')]) {
64-
sh "./gradlew artifactoryPublish -PartifactoryUsername=$ARTIFACTORY_USERNAME -PartifactoryPassword=$ARTIFACTORY_PASSWORD --no-daemon --stacktrace --debug"
49+
sh "./gradlew artifactoryPublish -PartifactoryUsername=$ARTIFACTORY_USERNAME -PartifactoryPassword=$ARTIFACTORY_PASSWORD --no-daemon --stacktrace"
6550
}
6651
}
6752
}
@@ -71,7 +56,7 @@ try {
7156
node {
7257
checkout scm
7358
withCredentials([file(credentialsId: 'docs.spring.io-jenkins_private_ssh_key', variable: 'DEPLOY_SSH_KEY')]) {
74-
sh "./gradlew deployDocs -PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY -PdeployDocsSshUsername=$SPRING_DOCS_USERNAME --refresh-dependencies --no-daemon --stacktrace --debug"
59+
sh "./gradlew deployDocs -PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY -PdeployDocsSshUsername=$SPRING_DOCS_USERNAME --refresh-dependencies --no-daemon --stacktrace"
7560
}
7661
}
7762
}

0 commit comments

Comments
 (0)