You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Jenkinsfile
+2-22
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ try {
19
19
sh "git clean -dfx"
20
20
try {
21
21
withCredentials([ARTIFACTORY_CREDENTIALS]) {
22
-
withEnv(["JAVA_HOME=${ tool 'jdk8' }"]) {
22
+
withEnv(["JAVA_HOME=${ tool 'jdk11' }"]) {
23
23
sh "./gradlew test -PartifactoryUsername=$ARTIFACTORY_USERNAME -PartifactoryPassword=$ARTIFACTORY_PASSWORD --refresh-dependencies --no-daemon --stacktrace"
24
24
}
25
25
}
@@ -31,27 +31,7 @@ try {
31
31
}
32
32
}
33
33
}
34
-
},
35
-
check_jdk_11: {
36
-
stage('Check JDK 11') {
37
-
node {
38
-
checkout scm
39
-
sh "git clean -dfx"
40
-
try {
41
-
withCredentials([ARTIFACTORY_CREDENTIALS]) {
42
-
withEnv(["JAVA_HOME=${ tool 'jdk11' }"]) {
43
-
sh "./gradlew test -PartifactoryUsername=$ARTIFACTORY_USERNAME -PartifactoryPassword=$ARTIFACTORY_PASSWORD --refresh-dependencies --no-daemon --stacktrace"
0 commit comments