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

commit 57b3e9f3540892017253a8674bb9422afb43f304
Author: Duo Zhang <[email protected]>
AuthorDate: Sat Feb 28 16:31:05 2026 +0800

    fix
---
 .../integration-test/integration-test.Jenkinsfile    | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/dev-support/integration-test/integration-test.Jenkinsfile 
b/dev-support/integration-test/integration-test.Jenkinsfile
index 7b72c26cba0..9206c84afe9 100644
--- a/dev-support/integration-test/integration-test.Jenkinsfile
+++ b/dev-support/integration-test/integration-test.Jenkinsfile
@@ -18,6 +18,7 @@ pipeline {
     YETUS_RELEASE = '0.15.0'
     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"
+    BASEDIR = "${env.WORKSPACE}/component"
   }
   parameters {
     booleanParam(name: 'DEBUG', defaultValue: false, description: 'Produce a 
lot more meta-information.')
@@ -34,9 +35,6 @@ pipeline {
     // See http://hbase.apache.org/book.html#maven.release
     // TODO (HBASE-23870): replace this with invocation of the release tool
     stage ('packaging test') {
-      environment {
-        BASEDIR = "${env.WORKSPACE}/component"
-      }
       steps {
         sh '''#!/bin/bash -e
           echo "Setting up directories"
@@ -97,19 +95,19 @@ pipeline {
             sshPublisherDesc(configName: 'Nightlies',
               transfers: [
                 sshTransfer(remoteDirectory: 
"hbase/${JOB_NAME}/${BUILD_NUMBER}",
-                  sourceFiles: "output-srctarball/hbase-src.tar.gz"
+                  sourceFiles: srcFile
                 )
               ]
             )
           ])
+          // remove the big src tarball, store the nightlies url in 
hbase-src.html
+          sh '''#!/bin/bash -e
+            SRC_TAR="${WORKSPACE}/output-srctarball/hbase-src.tar.gz"
+            echo "Remove ${SRC_TAR} for saving space"
+            rm -rf "${SRC_TAR}"
+            python3 ${BASEDIR}/dev-support/gen_redirect_html.py 
"${ASF_NIGHTLIES_BASE}/output-srctarball" > 
"${WORKSPACE}/output-srctarball/hbase-src.html"
+          '''
         }
-        // remove the big src tarball, store the nightlies url in 
hbase-src.html
-        sh '''#!/bin/bash -e
-        SRC_TAR="${WORKSPACE}/output-srctarball/hbase-src.tar.gz"
-        echo "Remove ${SRC_TAR} for saving space"
-        rm -rf "${SRC_TAR}"
-        python3 ${BASEDIR}/dev-support/gen_redirect_html.py 
"${ASF_NIGHTLIES_BASE}/output-srctarball" > 
"${WORKSPACE}/output-srctarball/hbase-src.html"
-        '''
       }
       archiveArtifacts artifacts: 'output-srctarball/*'
       archiveArtifacts artifacts: 'output-srctarball/**/*'

Reply via email to