parent
							
								
									bd9e3877f9
								
							
						
					
					
						commit
						adb9f4e34b
					
				| 
						 | 
					@ -66,6 +66,21 @@ try {
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
						},
 | 
				
			||||||
 | 
						jdk10: {
 | 
				
			||||||
 | 
							stage('JDK 10') {
 | 
				
			||||||
 | 
								node {
 | 
				
			||||||
 | 
									checkout scm
 | 
				
			||||||
 | 
									try {
 | 
				
			||||||
 | 
										withEnv(["JAVA_HOME=${ tool 'jdk10' }"]) {
 | 
				
			||||||
 | 
											sh "./gradlew clean test --refresh-dependencies --no-daemon --stacktrace"
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
 | 
									} catch(Exception e) {
 | 
				
			||||||
 | 
										currentBuild.result = 'FAILED: jdk10'
 | 
				
			||||||
 | 
										throw e
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if(currentBuild.result == 'SUCCESS') {
 | 
						if(currentBuild.result == 'SUCCESS') {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue