This is an automated email from the ASF dual-hosted git repository.
busbey pushed a commit to branch HBASE-26871-branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/HBASE-26871-branch-2 by this
push:
new cbe255b WIP update jenkinsfile to run branch-2 specifics on branch-2
specific feature breanch
cbe255b is described below
commit cbe255b2087fffc90c051325b262124eaf835aa8
Author: Sean Busbey <[email protected]>
AuthorDate: Thu Mar 24 23:22:48 2022 -0500
WIP update jenkinsfile to run branch-2 specifics on branch-2 specific
feature breanch
---
dev-support/Jenkinsfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index f03522b..bb23e4d 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -806,7 +806,7 @@ pipeline {
'''
unstash 'hadoop-2'
sh '''#!/bin/bash -xe
- if [[ "${BRANCH}" = branch-2* ]] || [[ "${BRANCH}" = branch-1*
]]; then
+ if [[ "${BRANCH}" = *branch-2* ]] || [[ "${BRANCH}" = *branch-1*
]]; then
echo "Attempting to use run an instance on top of Hadoop 2."
artifact=$(ls -1 "${WORKSPACE}"/hadoop-2*.tar.gz | head -n 1)
tar --strip-components=1 -xzf "${artifact}" -C "hadoop-2"
@@ -830,7 +830,7 @@ pipeline {
'''
unstash 'hadoop-3'
sh '''#!/bin/bash -e
- if [[ "${BRANCH}" = branch-1* ]]; then
+ if [[ "${BRANCH}" = *branch-1* ]]; then
echo "Skipping to run against Hadoop 3 for branch ${BRANCH}"
else
echo "Attempting to use run an instance on top of Hadoop 3."