HBASE-21103 nightly job should make sure cached yetus will run.

Signed-off-by: Mike Drob <mdrob@apache.org>
This commit is contained in:
Sean Busbey 2018-10-11 09:11:32 -05:00
parent eec1479f71
commit 42d7ddc678
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ pipeline {
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
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' \