You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by nd...@apache.org on 2020/02/25 00:43:03 UTC

[hbase] 02/02: [DO NOT MERGE] include YETUS-943

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

ndimiduk pushed a commit to branch HBASE-23876/jdk11-nightly-master
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit ad2521762d03b894588912841aaa39f27554e405
Author: Nick Dimiduk <nd...@apache.org>
AuthorDate: Mon Feb 24 14:50:19 2020 -0800

    [DO NOT MERGE] include YETUS-943
---
 dev-support/Jenkinsfile | 24 ++++--------------------
 1 file changed, 4 insertions(+), 20 deletions(-)

diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index da3de89..d0eb5fe 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -81,26 +81,10 @@ pipeline {
             sh  '''#!/usr/bin/env bash
               set -e
               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 ! "${YETUS_DIR}/bin/test-patch" --version >/dev/null 2>&1 ; then
-                  rm -rf "${YETUS_DIR}"
-                  "${WORKSPACE}/component/dev-support/jenkins-scripts/cache-apache-project-artifact.sh" \
-                      --working-dir "${WORKSPACE}/downloads-yetus" \
-                      --keys 'https://www.apache.org/dist/yetus/KEYS' \
-                      "${WORKSPACE}/yetus-${YETUS_RELEASE}-bin.tar.gz" \
-                      "yetus/${YETUS_RELEASE}/apache-yetus-${YETUS_RELEASE}-bin.tar.gz"
-                  mv "yetus-${YETUS_RELEASE}-bin.tar.gz" yetus.tar.gz
-                else
-                  echo "Reusing cached install of Apache Yetus version ${YETUS_RELEASE}."
-                fi
-              else
-                YETUS_DIR="${WORKSPACE}/yetus-git"
-                rm -rf "${YETUS_DIR}"
-                echo "downloading from github"
-                curl -L --fail https://api.github.com/repos/apache/yetus/tarball/HEAD -o yetus.tar.gz
-              fi
+              YETUS_DIR="${WORKSPACE}/yetus-git"
+              rm -rf "${YETUS_DIR}"
+              echo "downloading from github"
+              curl -L --fail https://api.github.com/repos/ndimiduk/yetus/tarball/943-jdk-version -o yetus.tar.gz
               if [ ! -d "${YETUS_DIR}" ]; then
                 echo "unpacking yetus into '${YETUS_DIR}'"
                 mkdir -p "${YETUS_DIR}"