HBASE-25204 Nightly job failed as the name of jdk and maven changed (#2567)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
Guanghao Zhang 2020-10-20 16:58:43 +08:00
parent cb10287c8c
commit 8e387e9dfa
3 changed files with 6 additions and 6 deletions

View File

@ -443,9 +443,9 @@ curl -L -o personality.sh "${env.PROJECT_PERSONALITY}"
// See http://hbase.apache.org/book.html#maven.release
stage ('create source tarball') {
tools {
maven 'Maven (latest)'
maven 'maven_latest'
// this needs to be set to the jdk that ought to be used to build releases on the branch the Jenkinsfile is stored in.
jdk "JDK 1.7 (latest)"
jdk "jdk_1.7_latest"
}
environment {
BASEDIR = "${env.WORKSPACE}/component"

View File

@ -51,10 +51,10 @@ pipeline {
stages {
stage ('run tests') {
tools {
maven 'Maven (latest)'
maven 'maven_latest'
// this needs to be set to the jdk that ought to be used to build releases on the branch
// the Jenkinsfile is stored in.
jdk "JDK 1.8 (latest)"
jdk "jdk_1.8_latest"
}
steps {
sh """#!/bin/bash -e

View File

@ -34,8 +34,8 @@ pipeline {
}
tools {
// this should match what the yetus nightly job for the branch will use
maven 'Maven (latest)'
jdk "JDK 1.8 (latest)"
maven 'maven_latest'
jdk "jdk_1.8_latest"
}
stages {
stage ('run flaky tests') {