This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch HBASE-29930
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/HBASE-29930 by this push:
new 37cee28dff7 fix
37cee28dff7 is described below
commit 37cee28dff781edbc6611f88ad350237a5888dd8
Author: Duo Zhang <[email protected]>
AuthorDate: Sat Feb 28 15:24:03 2026 +0800
fix
---
.../integration-test/integration-test.Jenkinsfile | 25 +++++++++-------------
1 file changed, 10 insertions(+), 15 deletions(-)
diff --git a/dev-support/integration-test/integration-test.Jenkinsfile
b/dev-support/integration-test/integration-test.Jenkinsfile
index c006a01d709..cb304d3d827 100644
--- a/dev-support/integration-test/integration-test.Jenkinsfile
+++ b/dev-support/integration-test/integration-test.Jenkinsfile
@@ -1,5 +1,9 @@
pipeline {
- agent none
+ agent {
+ node {
+ label 'hbase'
+ }
+ }
triggers {
cron('@daily')
}
@@ -12,7 +16,7 @@ pipeline {
}
environment {
YETUS_RELEASE = '0.15.0'
- HADOOP2_VERSION = "2.10.2"
+ HADOOP2_VERSIONS = "2.10.2"
HADOOP3_VERSIONS = "3.3.5,3.3.6,3.4.0,3.4.1,3.4.2,3.4.3"
}
parameters {
@@ -20,17 +24,12 @@ pipeline {
}
stages {
stage ('thirdparty installs') {
- agent {
- node {
- label 'hbase'
- }
- }
steps {
dir('component') {
checkout scm
}
script {
- for (hadoop_version in getHadoopVersions()) {
+ for (hadoop_version in getHadoopVersions(env.HADOOP2_VERSIONS,
env.HADOOP3_VERSIONS)) {
echo "Download hadoop-" + hadoop_version
env.HADOOP_VERSION = hadoop_Version
stage ('hadoop cache inner stage') {
@@ -128,13 +127,9 @@ pipeline {
}
@NonCPS
-List<String> getHadoopVersions() {
- def hadoop_versions = env.HADOOP3_VERSIONS
- .split(',')
- .collect { it.trim() }
- .findAll { it } as String[]
- hadoop_versions << env.HADOOP2_VERSION
- return hadoop_versions
+List<String> getHadoopVersions(String hadoop2Versions, String hadoop3Versions)
{
+ return hadoop2Versions.split(',').collect { it.trim() }.findAll { it } as
String[]
+ + hadoop3Versions.split(',').collect { it.trim() }.findAll { it } as
String[]
}
import org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper