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 2020/08/10 03:19:27 UTC

[hbase] branch branch-2.3 updated: HBASE-24838 The pre commit job fails to archive surefire reports (#2224)

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

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


The following commit(s) were added to refs/heads/branch-2.3 by this push:
     new 8ad651f  HBASE-24838 The pre commit job fails to archive surefire reports (#2224)
8ad651f is described below

commit 8ad651fc21f4ab8d8d1a486bd68c40bea25974c5
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Mon Aug 10 09:53:16 2020 +0800

    HBASE-24838 The pre commit job fails to archive surefire reports (#2224)
    
    Signed-off-by: Sean Busbey <bu...@apache.org>
---
 dev-support/Jenkinsfile_GitHub | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/dev-support/Jenkinsfile_GitHub b/dev-support/Jenkinsfile_GitHub
index fdd6c60..39420e2 100644
--- a/dev-support/Jenkinsfile_GitHub
+++ b/dev-support/Jenkinsfile_GitHub
@@ -101,7 +101,7 @@ pipeline {
                                   passwordVariable: 'GITHUB_PASSWORD',
                                   usernameVariable: 'GITHUB_USER'
                                 )]) {
-                                sh label: 'test-patch', script: '''
+                                sh label: 'test-patch', script: '''#!/bin/bash -e
                                     hostname -a ; pwd ; ls -la
                                     printenv 2>&1 | sort
                                     echo "[INFO] Launching Yetus via ${YETUS_DRIVER}"
@@ -128,7 +128,7 @@ pipeline {
                         // Jenkins pipeline jobs fill slaves on PRs without this :(
                         cleanup() {
                             script {
-                                sh label: 'Cleanup workspace', script: '''
+                                sh label: 'Cleanup workspace', script: '''#!/bin/bash -e
                                     # See YETUS-764
                                     if [ -f "${PATCHDIR}/pidfile.txt" ]; then
                                       echo "test-patch process appears to still be running: killing"
@@ -187,7 +187,7 @@ pipeline {
                                 passwordVariable: 'GITHUB_PASSWORD',
                                 usernameVariable: 'GITHUB_USER'
                               )]) {
-                                sh label: 'test-patch', script: '''
+                                sh label: 'test-patch', script: '''#!/bin/bash -e
                                     hostname -a ; pwd ; ls -la
                                     printenv 2>&1 | sort
                                     echo "[INFO] Launching Yetus via ${YETUS_DRIVER}"
@@ -199,7 +199,7 @@ pipeline {
                     post {
                         always {
                             junit testResults: "${WORKDIR_REL}/${SRC_REL}/**/target/**/TEST-*.xml", allowEmptyResults: true
-                            sh label: 'zip surefire reports', script: '''
+                            sh label: 'zip surefire reports', script: '''#!/bin/bash -e
                                 if [ -d "${PATCHDIR}/archiver" ]; then
                                   count=$(find "${PATCHDIR}/archiver" -type f | wc -l)
                                   if [[ 0 -ne ${count} ]]; then
@@ -228,7 +228,7 @@ pipeline {
                         // Jenkins pipeline jobs fill slaves on PRs without this :(
                         cleanup() {
                             script {
-                                sh label: 'Cleanup workspace', script: '''
+                                sh label: 'Cleanup workspace', script: '''#!/bin/bash -e
                                     # See YETUS-764
                                     if [ -f "${PATCHDIR}/pidfile.txt" ]; then
                                       echo "test-patch process appears to still be running: killing"
@@ -288,7 +288,7 @@ pipeline {
                                 passwordVariable: 'GITHUB_PASSWORD',
                                 usernameVariable: 'GITHUB_USER'
                               )]) {
-                                sh label: 'test-patch', script: '''
+                                sh label: 'test-patch', script: '''#!/bin/bash -e
                                     hostname -a ; pwd ; ls -la
                                     printenv 2>&1 | sort
                                     echo "[INFO] Launching Yetus via ${YETUS_DRIVER}"
@@ -300,7 +300,7 @@ pipeline {
                     post {
                         always {
                             junit testResults: "${WORKDIR_REL}/${SRC_REL}/**/target/**/TEST-*.xml", allowEmptyResults: true
-                            sh label: 'zip surefire reports', script: '''
+                            sh label: 'zip surefire reports', script: '''#!/bin/bash -e
                                 if [ -d "${PATCHDIR}/archiver" ]; then
                                   count=$(find "${PATCHDIR}/archiver" -type f | wc -l)
                                   if [[ 0 -ne ${count} ]]; then
@@ -329,7 +329,7 @@ pipeline {
                         // Jenkins pipeline jobs fill slaves on PRs without this :(
                         cleanup() {
                             script {
-                                sh label: 'Cleanup workspace', script: '''
+                                sh label: 'Cleanup workspace', script: '''#!/bin/bash -e
                                     # See YETUS-764
                                     if [ -f "${PATCHDIR}/pidfile.txt" ]; then
                                       echo "test-patch process appears to still be running: killing"
@@ -358,7 +358,7 @@ pipeline {
         // Jenkins pipeline jobs fill slaves on PRs without this :(
         cleanup() {
             script {
-                sh label: 'Cleanup workspace', script: '''
+                sh label: 'Cleanup workspace', script: '''#!/bin/bash -e
                     # See HADOOP-13951
                     chmod -R u+rxw "${WORKSPACE}"
                     '''