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:20 UTC
[8/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/6b9dfb9a
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/6b9dfb9a
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/6b9dfb9a
Branch: refs/heads/branch-1.2
Commit: 6b9dfb9aaeaf69843c17294378c6660963499155
Parents: ff29edc
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:34:40 2018 -0500
----------------------------------------------------------------------
dev-support/Jenkinsfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/6b9dfb9a/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index a32137a..606ff8c 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"