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()
|
disableConcurrentBuilds()
|
||||||
}
|
}
|
||||||
environment {
|
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.
|
// 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_GENERAL = 'output-general'
|
||||||
OUTPUT_DIR_RELATIVE_JDK7 = 'output-jdk7'
|
OUTPUT_DIR_RELATIVE_JDK7 = 'output-jdk7'
|
||||||
|
|
|
@ -37,7 +37,7 @@ pipeline {
|
||||||
DOCKERFILE_REL = "${SRC_REL}/dev-support/docker/Dockerfile"
|
DOCKERFILE_REL = "${SRC_REL}/dev-support/docker/Dockerfile"
|
||||||
YETUS_DRIVER_REL = "${SRC_REL}/dev-support/jenkins_precommit_github_yetus.sh"
|
YETUS_DRIVER_REL = "${SRC_REL}/dev-support/jenkins_precommit_github_yetus.sh"
|
||||||
// Branch or tag name. Yetus release tags are 'rel/X.Y.Z'
|
// 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'
|
GENERAL_CHECK_PLUGINS = 'all,-compile,-javac,-javadoc,-jira,-shadedjars,-unit'
|
||||||
JDK_SPECIFIC_PLUGINS = 'compile,github,htmlout,javac,javadoc,maven,mvninstall,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.
|
// 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 should_build "tag" && [ "$SKIP_TAG" = 0 ]; then
|
||||||
if [ -z "${YETUS_HOME}" ] && [ "${RUNNING_IN_DOCKER}" != "1" ]; 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
|
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
|
fi
|
||||||
YETUS_HOME="$(read_config "YETUS_HOME not defined. Absolute path to local install of Apache Yetus" "${local_yetus}")"
|
YETUS_HOME="$(read_config "YETUS_HOME not defined. Absolute path to local install of Apache Yetus" "${local_yetus}")"
|
||||||
export YETUS_HOME
|
export YETUS_HOME
|
||||||
|
|
|
@ -44,7 +44,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -qq -y update \
|
||||||
&& pip install \
|
&& pip install \
|
||||||
python-dateutil==2.8.1
|
python-dateutil==2.8.1
|
||||||
# Install Apache Yetus
|
# Install Apache Yetus
|
||||||
ENV YETUS_VERSION 0.11.1
|
ENV YETUS_VERSION 0.12.0
|
||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
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" | \
|
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
|
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:${JAVA_HOME}/bin:${MAVEN_HOME}/bin:
|
||||||
export PATH=$PATH:${MAVEN_HOME}/bin:
|
export PATH=$PATH:${MAVEN_HOME}/bin:
|
||||||
|
|
||||||
YETUS_RELEASE=0.11.1
|
YETUS_RELEASE=0.12.0
|
||||||
COMPONENT=${WORKSPACE}/component
|
COMPONENT=${WORKSPACE}/component
|
||||||
TEST_FRAMEWORK=${WORKSPACE}/test_framework
|
TEST_FRAMEWORK=${WORKSPACE}/test_framework
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue