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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9babe6ee961 HBASE-30027 Need to remove stall patch files before 
unstashing in generate web site job (#7981)
9babe6ee961 is described below

commit 9babe6ee961643f6bd0c888c727b8ac0ac5ce979
Author: Duo Zhang <[email protected]>
AuthorDate: Thu Mar 26 17:57:01 2026 +0800

    HBASE-30027 Need to remove stall patch files before unstashing in generate 
web site job (#7981)
    
    Signed-off-by: Dávid Paksy <[email protected]>
---
 dev-support/generate-website/generate-hbase-website.Jenkinsfile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-support/generate-website/generate-hbase-website.Jenkinsfile 
b/dev-support/generate-website/generate-hbase-website.Jenkinsfile
index 3155fba6d32..2fdccf0c4f2 100644
--- a/dev-support/generate-website/generate-hbase-website.Jenkinsfile
+++ b/dev-support/generate-website/generate-hbase-website.Jenkinsfile
@@ -83,10 +83,13 @@ pipeline {
         }
       }
       steps {
-        unstash 'patch'
         sh '''#!/bin/bash -e
-          # wipe out stall repo
+          # wipe out stall repo and files
+          rm -rf *.patch
           rm -rf hbase-site
+        '''
+        unstash 'patch'
+        sh '''#!/bin/bash -e
           git clone --depth 1 --branch asf-site 
https://gitbox.apache.org/repos/asf/hbase-site.git
           patch=$(ls -1 *.patch | head -n 1)
           cd hbase-site;

Reply via email to