You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2018/10/11 15:35:18 UTC
[6/8] hbase git commit: HBASE-21103 nightly job should make sure
cached yetus will run.
HBASE-21103 nightly job should make sure cached yetus will run.
Signed-off-by: Mike Drob <md...@apache.org>
(cherry picked from commit 5b6b85aed657edc0e476e6c7ddb4d8dcb0283d54)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/bd690be7
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/bd690be7
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/bd690be7
Branch: refs/heads/branch-1.4
Commit: bd690be7a1f2ac979a2a9cca3e08aa2ec630c79e
Parents: 0b1ae1c
Author: Sean Busbey <bu...@apache.org>
Authored: Thu Oct 11 10:32:12 2018 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Thu Oct 11 10:33:45 2018 -0500
----------------------------------------------------------------------
dev-support/Jenkinsfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/bd690be7/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 0abeae0..c2313e2 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -64,8 +64,9 @@ echo "Ensure we have a copy of Apache Yetus."
if [[ true != "${USE_YETUS_PRERELEASE}" ]]; then
YETUS_DIR="${WORKSPACE}/yetus-${YETUS_RELEASE}"
echo "Checking for Yetus ${YETUS_RELEASE} in '${YETUS_DIR}'"
- if [ ! -d "${YETUS_DIR}" ]; then
+ if ! "${YETUS_DIR}/bin/test-patch" --version >/dev/null 2>&1 ; then
echo "New download of Apache Yetus version ${YETUS_RELEASE}."
+ rm -rf "${YETUS_DIR}"
rm -rf "${WORKSPACE}/.gpg"
mkdir -p "${WORKSPACE}/.gpg"
chmod -R 700 "${WORKSPACE}/.gpg"