You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2024/07/11 14:42:00 UTC
(hbase) branch branch-3 updated: HBASE-28722 Should wipe out all the output directories before unstash in nightly job (#6070)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-3 by this push:
new b73d8f463d6 HBASE-28722 Should wipe out all the output directories before unstash in nightly job (#6070)
b73d8f463d6 is described below
commit b73d8f463d660727dda58cda3c2eefbf030b4822
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Thu Jul 11 22:37:35 2024 +0800
HBASE-28722 Should wipe out all the output directories before unstash in nightly job (#6070)
Signed-off-by: Xin Sun <su...@apache.org>
(cherry picked from commit f95ac7a9c409b4d56e53e9272481ac909e52f177)
---
dev-support/Jenkinsfile | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 94652560614..f93408d6fd3 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -954,13 +954,25 @@ pipeline {
always {
script {
try {
+ sh "printenv"
+ // wipe out all the output directories before unstashing
+ sh'''
+ echo "Clean up result directories"
+ rm -rf ${OUTPUT_DIR_RELATIVE_GENERAL}
+ rm -rf ${OUTPUT_DIR_RELATIVE_JDK8_HADOOP2}
+ rm -rf ${OUTPUT_DIR_RELATIVE_JDK8_HADOOP3}
+ rm -rf ${OUTPUT_DIR_RELATIVE_JDK11_HADOOP3}
+ rm -rf ${OUTPUT_DIR_RELATIVE_JDK17_HADOOP3}
+ rm -rf output-srctarball
+ rm -rf output-integration
+ '''
unstash 'general-result'
unstash 'jdk8-hadoop2-result'
unstash 'jdk8-hadoop3-result'
unstash 'jdk11-hadoop3-result'
unstash 'jdk17-hadoop3-result'
unstash 'srctarball-result'
- sh "printenv"
+
def results = ["${env.OUTPUT_DIR_RELATIVE_GENERAL}/commentfile",
"${env.OUTPUT_DIR_RELATIVE_JDK8_HADOOP2}/commentfile",
"${env.OUTPUT_DIR_RELATIVE_JDK8_HADOOP3}/commentfile",