HBASE-24200 Upgrade to Yetus 0.12.0
Signed-off-by: Sean Busbey <busbey@apache.org> Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
parent
12d0397015
commit
eee1cf7ff6
|
@ -31,7 +31,7 @@ pipeline {
|
|||
disableConcurrentBuilds()
|
||||
}
|
||||
environment {
|
||||
YETUS_RELEASE = '0.11.1'
|
||||
YETUS_RELEASE = '0.12.0'
|
||||
// where we'll write everything from different steps. Need a copy here so the final step can check for success/failure.
|
||||
OUTPUT_DIR_RELATIVE_GENERAL = 'output-general'
|
||||
OUTPUT_DIR_RELATIVE_JDK7 = 'output-jdk7'
|
||||
|
|
|
@ -37,7 +37,7 @@ pipeline {
|
|||
DOCKERFILE_REL = "${SRC_REL}/dev-support/docker/Dockerfile"
|
||||
YETUS_DRIVER_REL = "${SRC_REL}/dev-support/jenkins_precommit_github_yetus.sh"
|
||||
// Branch or tag name. Yetus release tags are 'rel/X.Y.Z'
|
||||
YETUS_VERSION = 'rel/0.11.1'
|
||||
YETUS_VERSION = 'rel/0.12.0'
|
||||
GENERAL_CHECK_PLUGINS = 'all,-compile,-javac,-javadoc,-jira,-shadedjars,-unit'
|
||||
JDK_SPECIFIC_PLUGINS = 'compile,github,htmlout,javac,javadoc,maven,mvninstall,shadedjars,unit'
|
||||
// output from surefire; sadly the archive function in yetus only works on file names.
|
||||
|
|
|
@ -118,9 +118,9 @@ function should_build {
|
|||
|
||||
if should_build "tag" && [ "$SKIP_TAG" = 0 ]; then
|
||||
if [ -z "${YETUS_HOME}" ] && [ "${RUNNING_IN_DOCKER}" != "1" ]; then
|
||||
declare local_yetus="/opt/apache-yetus/0.11.1/"
|
||||
declare local_yetus="/opt/apache-yetus/0.12.0/"
|
||||
if [ "$(get_host_os)" = "DARWIN" ]; then
|
||||
local_yetus="/usr/local/Cellar/yetus/0.11.1/"
|
||||
local_yetus="/usr/local/Cellar/yetus/0.12.0/"
|
||||
fi
|
||||
YETUS_HOME="$(read_config "YETUS_HOME not defined. Absolute path to local install of Apache Yetus" "${local_yetus}")"
|
||||
export YETUS_HOME
|
||||
|
|
|
@ -44,7 +44,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -qq -y update \
|
|||
&& pip install \
|
||||
python-dateutil==2.8.1
|
||||
# Install Apache Yetus
|
||||
ENV YETUS_VERSION 0.11.1
|
||||
ENV YETUS_VERSION 0.12.0
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
RUN wget -qO- "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=/yetus/${YETUS_VERSION}/apache-yetus-${YETUS_VERSION}-bin.tar.gz" | \
|
||||
tar xvz -C /opt
|
||||
|
|
|
@ -32,7 +32,7 @@ export MAVEN_HOME=/home/jenkins/tools/maven/apache-maven-3.0.5
|
|||
#export PATH=$PATH:${JAVA_HOME}/bin:${MAVEN_HOME}/bin:
|
||||
export PATH=$PATH:${MAVEN_HOME}/bin:
|
||||
|
||||
YETUS_RELEASE=0.11.1
|
||||
YETUS_RELEASE=0.12.0
|
||||
COMPONENT=${WORKSPACE}/component
|
||||
TEST_FRAMEWORK=${WORKSPACE}/test_framework
|
||||
|
||||
|
|
Loading…
Reference in New Issue