File tree Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Original file line number Diff line number Diff line change 14
14
node {
15
15
checkout scm
16
16
try {
17
- sh " ./gradlew clean check --refresh-dependencies --no-daemon --debug "
17
+ sh " ./gradlew clean check --refresh-dependencies --no-daemon"
18
18
} catch (Exception e) {
19
19
currentBuild. result = ' FAILED: check'
20
20
throw e
@@ -24,27 +24,12 @@ try {
24
24
}
25
25
}
26
26
},
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
- },
42
27
springio : {
43
28
stage(' Spring IO' ) {
44
29
node {
45
30
checkout scm
46
31
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"
48
33
} catch (Exception e) {
49
34
currentBuild. result = ' FAILED: springio'
50
35
throw e
61
46
node {
62
47
checkout scm
63
48
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"
65
50
}
66
51
}
67
52
}
71
56
node {
72
57
checkout scm
73
58
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"
75
60
}
76
61
}
77
62
}
You can’t perform that action at this time.
0 commit comments