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/09/30 13:02:57 UTC
[hbase] branch HBASE-26313 updated: verbose
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 bafa5d8 verbose
bafa5d8 is described below
commit bafa5d8dd1746e6b826a53bfe283e7414ac1eb88
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Thu Sep 30 21:02:19 2021 +0800
verbose
---
dev-support/Jenkinsfile | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 9bb513b..77921a7 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -493,15 +493,18 @@ pipeline {
sshPublisher(publishers: [
sshPublisherDesc(configName: 'Nightlies',
transfers: [
- sshTransfer(remoteDirectory: 'hbase/${JOB_NAME}/${BUILD_NUMBER}/${env.OUTPUT_DIR_RELATIVE}',
- sourceFiles: '${env.OUTPUT_DIR_RELATIVE}/test_logs.zip')
- ]
+ sshTransfer(remoteDirectory: 'hbase/${JOB_NAME}/${BUILD_NUMBER}/${env.OUTPUT_DIR_RELATIVE}/',
+ sourceFiles: '${env.OUTPUT_DIR_RELATIVE}/test_logs.zip'
+ )
+ ],
+ verbose: ${DEBUG}
)
])
- // remove the big test logs zip
+ // remove the big test logs zip file
sh '''#!/bin/bash -e
+ echo "Remove ${OUTPUT_DIR}/test_logs.zip for saving space"
rm -rf "${OUTPUT_DIR}/test_logs.zip"
- echo "${ASF_NIGHTLIES}/hbase/${JOB_NAME}/${BUILD_NUMBER}/test_logs.zip" > "${OUTPUT_DIR}/test_logs.txt"
+ echo "${ASF_NIGHTLIES}/hbase/${JOB_NAME}/${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}/*"
@@ -593,15 +596,18 @@ pipeline {
sshPublisher(publishers: [
sshPublisherDesc(configName: 'Nightlies',
transfers: [
- sshTransfer(remoteDirectory: 'hbase/${JOB_NAME}/${BUILD_NUMBER}/${env.OUTPUT_DIR_RELATIVE}',
- sourceFiles: '${env.OUTPUT_DIR_RELATIVE}/test_logs.zip')
- ]
+ sshTransfer(remoteDirectory: 'hbase/${JOB_NAME}/${BUILD_NUMBER}/${env.OUTPUT_DIR_RELATIVE}/',
+ sourceFiles: '${env.OUTPUT_DIR_RELATIVE}/test_logs.zip'
+ )
+ ],
+ verbose: ${DEBUG}
)
])
- // remove the big test logs zip
+ // remove the big test logs zip file
sh '''#!/bin/bash -e
+ echo "Remove ${OUTPUT_DIR}/test_logs.zip for saving space"
rm -rf "${OUTPUT_DIR}/test_logs.zip"
- echo "${ASF_NIGHTLIES}/hbase/${JOB_NAME}/${BUILD_NUMBER}/test_logs.zip" > "${OUTPUT_DIR}/test_logs.txt"
+ echo "${ASF_NIGHTLIES}/hbase/${JOB_NAME}/${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}/*"