This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch HBASE-30004
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/HBASE-30004 by this push:
     new cc5d95f0c7a fix
cc5d95f0c7a is described below

commit cc5d95f0c7ac3822d4fbb0c13703606662598c46
Author: Duo Zhang <[email protected]>
AuthorDate: Wed Mar 18 15:18:40 2026 +0800

    fix
---
 dev-support/generate-website/generate-hbase-website.Jenkinsfile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-support/generate-website/generate-hbase-website.Jenkinsfile 
b/dev-support/generate-website/generate-hbase-website.Jenkinsfile
index 9c14e8c14b6..2ee0e77e108 100644
--- a/dev-support/generate-website/generate-hbase-website.Jenkinsfile
+++ b/dev-support/generate-website/generate-hbase-website.Jenkinsfile
@@ -59,9 +59,11 @@ pipeline {
             --working-dir /home/${user} component
         '''
         script {
-          def patchFiles = findFiles(glob: '*.patch')
-          if (patchFiles.length > 0) {
-            echo "Has patch ${patchFiles[0].path}, stash and then publish"
+          if (fileExists('website.patch.zip') {
+            sh'''
+              patch=$(ls -1 *.patch | head -n 1)
+              echo "Has patch ${patch}, stash and then publish"
+            '''
             stash name: 'patch', includes: "*.patch"
             env.PUBLISH_WEBSITE = "true"
           } else {

Reply via email to