HBASE-22724 Add a emoji on the vote table for pre commit result on github (#568)

Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Stack <stack@apache.org>
This commit is contained in:
Duo Zhang 2019-09-04 08:52:28 +08:00
parent e631798961
commit 587d7448e9
3 changed files with 10 additions and 4 deletions

View File

@ -30,7 +30,7 @@ pipeline {
skipDefaultCheckout()
}
environment {
YETUS_RELEASE = '0.9.0'
YETUS_RELEASE = '0.11.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'

View File

@ -37,7 +37,7 @@ pipeline {
DOCKERFILE = "${SOURCEDIR}/dev-support/docker/Dockerfile"
YETUS='yetus'
// Branch or tag name. Yetus release tags are 'rel/X.Y.Z'
YETUS_VERSION='rel/0.10.0'
YETUS_VERSION='rel/0.11.0'
}
parameters {
@ -151,7 +151,6 @@ pipeline {
YETUS_ARGS+=("--docker")
YETUS_ARGS+=("--dockerfile=${DOCKERFILE}")
YETUS_ARGS+=("--mvn-custom-repos")
YETUS_ARGS+=("--jenkins")
YETUS_ARGS+=("--multijdkdirs=/usr/lib/jvm/java-8-openjdk-amd64")
YETUS_ARGS+=("--findbugs-home=/usr")
YETUS_ARGS+=("--whitespace-eol-ignore-list=.*/generated/.*")
@ -160,9 +159,11 @@ pipeline {
YETUS_ARGS+=("--quick-hadoopcheck")
YETUS_ARGS+=("--skip-errorprone")
# effectively treat dev-support as a custom maven module
YETUS_ARGS+=("--skip-dir=dev-support")
YETUS_ARGS+=("--skip-dirs=dev-support")
# help keep the ASF boxes clean
YETUS_ARGS+=("--sentinel")
# use emoji vote so it is easier to find the broken line
YETUS_ARGS+=("--github-use-emoji-vote")
"${TESTPATCHBIN}" "${YETUS_ARGS[@]}"
'''
}

View File

@ -86,15 +86,19 @@ function personality_parse_args
for i in "$@"; do
case ${i} in
--exclude-tests-url=*)
delete_parameter "${i}"
EXCLUDE_TESTS_URL=${i#*=}
;;
--include-tests-url=*)
delete_parameter "${i}"
INCLUDE_TESTS_URL=${i#*=}
;;
--hadoop-profile=*)
delete_parameter "${i}"
HADOOP_PROFILE=${i#*=}
;;
--skip-errorprone)
delete_parameter "${i}"
SKIP_ERRORPRONE=true
;;
esac
@ -461,6 +465,7 @@ function hadoopcheck_parse_args
for i in "$@"; do
case ${i} in
--quick-hadoopcheck)
delete_parameter "${i}"
QUICK_HADOOPCHECK=true
;;
esac