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 efd51032fec fix
efd51032fec is described below

commit efd51032fec5fe2e068dfd9f58e53a795a791053
Author: Duo Zhang <[email protected]>
AuthorDate: Sun Mar 1 01:03:57 2026 +0800

    fix
---
 dev-support/integration-test/integration-test.Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-support/integration-test/integration-test.Jenkinsfile 
b/dev-support/integration-test/integration-test.Jenkinsfile
index 0cb01573692..d6af12638eb 100644
--- a/dev-support/integration-test/integration-test.Jenkinsfile
+++ b/dev-support/integration-test/integration-test.Jenkinsfile
@@ -142,6 +142,7 @@ pipeline {
                 rm -rf "unpacked_src_tarball"
                 rm -rf "hbase-install" && mkdir "hbase-install"
                 rm -rf "hbase-client" && mkdir "hbase-client"
+                rm -rf "hadoop-install" && mkdir "hadoop-install"
                 rm -rf "hbase-hadoop3-install"
                 rm -rf "hbase-hadoop3-client"
                 # remove old hadoop tarballs in workspace
@@ -170,7 +171,6 @@ pipeline {
                     echo "Delete stale hadoop cache ${stale}"
                     rm -rf $stale
                   done
-                  rm -rf "${WORKSPACE}/hadoop-install" && mkdir 
"${WORKSPACE}/hadoop-install"
                   artifact=$(ls -1 
"${WORKSPACE}"/hadoop-${HADOOP_VERSION}-bin.tar.gz | head -n 1)
                   tar --strip-components=1 -xzf "${artifact}" -C 
"${WORKSPACE}/hadoop-install"
                   if [[ ${HADOOP_VERSION} == 3.* ]]; then
@@ -189,7 +189,7 @@ pipeline {
                 tar --strip-component=1 -xzf "${install_artifact}" -C 
"hbase-install"
                 client_artifact=$(ls -1 
"${WORKSPACE}"/unpacked_src_tarball/hbase-assembly/target/hbase-*-client-bin.tar.gz
 | grep -v hadoop3)
                 tar --strip-component=1 -xzf "${client_artifact}" -C 
"hbase-client"
-                if [ 2 -eq $(ls -1 
"${WORKSPACE}"/unpacked_src_tarball/hbase-assembly/target/hbase-*-hadoop3-*-bin.tar.gz
 | wc -l) ]; then
+                if ls 
"${WORKSPACE}"/unpacked_src_tarball/hbase-assembly/target/hbase-*-hadoop3-*-bin.tar.gz
 &>/dev/null; then
                   echo "hadoop3 artifacts available, unpacking the hbase 
hadoop3 bin tarball into 'hbase-hadoop3-install' and the client hadoop3 tarball 
into 'hbase-hadoop3-client'"
                   mkdir hbase-hadoop3-install
                   mkdir hbase-hadoop3-client

Reply via email to