File tree Expand file tree Collapse file tree 1 file changed +0
-44
lines changed Expand file tree Collapse file tree 1 file changed +0
-44
lines changed Original file line number Diff line number Diff line change 99
99
}
100
100
}
101
101
},
102
- jdk9 : {
103
- stage(' JDK 9' ) {
104
- node {
105
- checkout scm
106
- sh " git clean -dfx"
107
- try {
108
- withCredentials([GRADLE_ENTERPRISE_CACHE_USER ,
109
- GRADLE_ENTERPRISE_SECRET_ACCESS_KEY ]) {
110
- withEnv([jdkEnv(" jdk9" ),
111
- " GRADLE_ENTERPRISE_CACHE_USERNAME=${ GRADLE_ENTERPRISE_CACHE_USERNAME} " ,
112
- " GRADLE_ENTERPRISE_CACHE_PASSWORD=${ GRADLE_ENTERPRISE_CACHE_PASSWORD} " ,
113
- " GRADLE_ENTERPRISE_ACCESS_KEY=${ GRADLE_ENTERPRISE_ACCESS_KEY} " ]) {
114
- sh " ./gradlew test --stacktrace"
115
- }
116
- }
117
- } catch (Exception e) {
118
- currentBuild. result = ' FAILED: jdk9'
119
- throw e
120
- }
121
- }
122
- }
123
- },
124
- jdk10 : {
125
- stage(' JDK 10' ) {
126
- node {
127
- checkout scm
128
- sh " git clean -dfx"
129
- try {
130
- withCredentials([GRADLE_ENTERPRISE_CACHE_USER ,
131
- GRADLE_ENTERPRISE_SECRET_ACCESS_KEY ]) {
132
- withEnv([jdkEnv(" jdk10" ),
133
- " GRADLE_ENTERPRISE_CACHE_USERNAME=${ GRADLE_ENTERPRISE_CACHE_USERNAME} " ,
134
- " GRADLE_ENTERPRISE_CACHE_PASSWORD=${ GRADLE_ENTERPRISE_CACHE_PASSWORD} " ,
135
- " GRADLE_ENTERPRISE_ACCESS_KEY=${ GRADLE_ENTERPRISE_ACCESS_KEY} " ]) {
136
- sh " ./gradlew test --stacktrace"
137
- }
138
- }
139
- } catch (Exception e) {
140
- currentBuild. result = ' FAILED: jdk10'
141
- throw e
142
- }
143
- }
144
- }
145
- },
146
102
jdk11 : {
147
103
stage(' JDK 11' ) {
148
104
node {
You can’t perform that action at this time.
0 commit comments