You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2024/06/25 07:35:26 UTC
(hbase) branch HBASE-28678 updated (8e5ca84b4bc -> b574e6f5aa4)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a change to branch HBASE-28678
in repository https://gitbox.apache.org/repos/asf/hbase.git
discard 8e5ca84b4bc HBASE-28678 Make nightly builds for 3.x java 17 only and add java 17 test for 2.x
new b574e6f5aa4 HBASE-28678 Make nightly builds for 3.x java 17 only and add java 17 test for 2.x
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (8e5ca84b4bc)
\
N -- N -- N refs/heads/HBASE-28678 (b574e6f5aa4)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
dev-support/Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(hbase) 01/01: HBASE-28678 Make nightly builds for 3.x java 17 only and add java 17 test for 2.x
Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch HBASE-28678
in repository https://gitbox.apache.org/repos/asf/hbase.git
commit b574e6f5aa48f9e4f112aa27121f76d17b1214e2
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Mon Jun 24 15:15:54 2024 +0800
HBASE-28678 Make nightly builds for 3.x java 17 only and add java 17 test for 2.x
---
dev-support/Jenkinsfile | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 3aadf7316b3..c0d6b104aef 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -205,7 +205,8 @@ pipeline {
environment {
BASEDIR = "${env.WORKSPACE}/component"
TESTS = "${env.SHALLOW_CHECKS}"
- SET_JAVA_HOME = "/usr/lib/jvm/java-11"
+ // use java 17 to build 3.x and java 11 to build 2.x
+ SET_JAVA_HOME = "${env.BRANCH_NAME ==~ "/^.*branch-2.*\$/" ? "/usr/lib/jvm/java-11" : "/usr/lib/jvm/java-17"}"
JAVA8_HOME="/usr/lib/jvm/java-8"
// Activates hadoop 3.0 profile in maven runs.
HADOOP_PROFILE = '3.0'
@@ -417,6 +418,9 @@ pipeline {
label 'hbase'
}
}
+ when {
+ branch 'branch-2*'
+ }
environment {
BASEDIR = "${env.WORKSPACE}/component"
TESTS = "${env.DEEP_CHECKS}"
@@ -527,6 +531,9 @@ pipeline {
label 'hbase'
}
}
+ when {
+ branch 'branch-2*'
+ }
environment {
BASEDIR = "${env.WORKSPACE}/component"
TESTS = "${env.DEEP_CHECKS}"
@@ -633,11 +640,6 @@ pipeline {
}
stage ('yetus jdk17 hadoop3 checks') {
- when {
- anyOf {
- branch 'master';branch 'branch-3'
- }
- }
agent {
node {
label 'hbase'
@@ -943,12 +945,14 @@ pipeline {
unstash 'jdk8-hadoop2-result'
unstash 'jdk8-hadoop3-result'
unstash 'jdk11-hadoop3-result'
+ unstash 'jdk17-hadoop3-result'
unstash 'srctarball-result'
sh "printenv"
def results = ["${env.OUTPUT_DIR_RELATIVE_GENERAL}/commentfile",
"${env.OUTPUT_DIR_RELATIVE_JDK8_HADOOP2}/commentfile",
"${env.OUTPUT_DIR_RELATIVE_JDK8_HADOOP3}/commentfile",
"${env.OUTPUT_DIR_RELATIVE_JDK11_HADOOP3}/commentfile",
+ "${env.OUTPUT_DIR_RELATIVE_JDK17_HADOOP3}/commentfile",
'output-srctarball/commentfile',
'output-integration/commentfile']
echo env.BRANCH_NAME