HBASE-21103 nightly job should make sure cached yetus will run.
Signed-off-by: Mike Drob <mdrob@apache.org>
(cherry picked from commit 42d7ddc678
)
This commit is contained in:
parent
e726a89f5f
commit
c9c7436482
|
@ -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' \
|
||||
|
|
Loading…
Reference in New Issue