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 2021/10/01 14:12:24 UTC

[hbase] branch HBASE-26313 updated: replace space

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

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


The following commit(s) were added to refs/heads/HBASE-26313 by this push:
     new 6bb6870  replace space
6bb6870 is described below

commit 6bb6870d1646fe3d316613a6506fa6b95e79df69
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Fri Oct 1 22:11:28 2021 +0800

    replace space
---
 dev-support/Jenkinsfile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 6a8ed6f..81a7cd1 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -504,8 +504,9 @@ pipeline {
                 echo "Remove ${OUTPUT_DIR}/test_logs.zip for saving space"
                 rm -rf "${OUTPUT_DIR}/test_logs.zip"
                 // we may have space in job name, replace it with %20
-                ENCODED_JOB_NAME=${${JOB_NAME}// /%20}
-                echo "${ASF_NIGHTLIES}/hbase/${ENCODED_JOB_NAME}/${BUILD_NUMBER}/${OUTPUT_DIR_RELATIVE}/test_logs.zip" > "${OUTPUT_DIR}/test_logs.txt"
+                JN="${JOB_NAME}"
+                EJN=${JN// /%20}
+                echo "${ASF_NIGHTLIES}/hbase/${EJN}/${BUILD_NUMBER}/${OUTPUT_DIR_RELATIVE}/test_logs.zip" > "${OUTPUT_DIR}/test_logs.txt"
 '''
               // Has to be relative to WORKSPACE.
               archiveArtifacts artifacts: "${env.OUTPUT_DIR_RELATIVE}/*"
@@ -608,8 +609,9 @@ pipeline {
                 echo "Remove ${OUTPUT_DIR}/test_logs.zip for saving space"
                 rm -rf "${OUTPUT_DIR}/test_logs.zip"
                 // we may have space in job name, replace it with %20
-                ENCODED_JOB_NAME=${${JOB_NAME}// /%20}
-                echo "${ASF_NIGHTLIES}/hbase/${ENCODED_JOB_NAME}/${BUILD_NUMBER}/${OUTPUT_DIR_RELATIVE}/test_logs.zip" > "${OUTPUT_DIR}/test_logs.txt"
+                JN="${JOB_NAME}"
+                EJN=${JN// /%20}
+                echo "${ASF_NIGHTLIES}/hbase/${EJN}/${BUILD_NUMBER}/${OUTPUT_DIR_RELATIVE}/test_logs.zip" > "${OUTPUT_DIR}/test_logs.txt"
 '''
               // Has to be relative to WORKSPACE.
               archiveArtifacts artifacts: "${env.OUTPUT_DIR_RELATIVE}/*"