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 committed by GitHub
parent 960a5fdc2a
commit da144888d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 5 deletions

View File

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

View File

@ -37,7 +37,7 @@ pipeline {
DOCKERFILE = "${SOURCEDIR}/dev-support/docker/Dockerfile" DOCKERFILE = "${SOURCEDIR}/dev-support/docker/Dockerfile"
YETUS='yetus' YETUS='yetus'
// 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.10.0' YETUS_VERSION='rel/0.11.0'
} }
parameters { parameters {
@ -151,7 +151,6 @@ pipeline {
YETUS_ARGS+=("--docker") YETUS_ARGS+=("--docker")
YETUS_ARGS+=("--dockerfile=${DOCKERFILE}") YETUS_ARGS+=("--dockerfile=${DOCKERFILE}")
YETUS_ARGS+=("--mvn-custom-repos") YETUS_ARGS+=("--mvn-custom-repos")
YETUS_ARGS+=("--jenkins")
YETUS_ARGS+=("--multijdkdirs=/usr/lib/jvm/java-8-openjdk-amd64") YETUS_ARGS+=("--multijdkdirs=/usr/lib/jvm/java-8-openjdk-amd64")
YETUS_ARGS+=("--findbugs-home=/usr") YETUS_ARGS+=("--findbugs-home=/usr")
YETUS_ARGS+=("--whitespace-eol-ignore-list=.*/generated/.*") YETUS_ARGS+=("--whitespace-eol-ignore-list=.*/generated/.*")
@ -159,10 +158,12 @@ pipeline {
YETUS_ARGS+=("--personality=${SOURCEDIR}/dev-support/hbase-personality.sh") YETUS_ARGS+=("--personality=${SOURCEDIR}/dev-support/hbase-personality.sh")
YETUS_ARGS+=("--quick-hadoopcheck") YETUS_ARGS+=("--quick-hadoopcheck")
YETUS_ARGS+=("--skip-errorprone") YETUS_ARGS+=("--skip-errorprone")
# effectively treat dev-support as a custom maven module # 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 # help keep the ASF boxes clean
YETUS_ARGS+=("--sentinel") YETUS_ARGS+=("--sentinel")
# use emoji vote so it is easier to find the broken line
YETUS_ARGS+=("--github-use-emoji-vote")
"${TESTPATCHBIN}" "${YETUS_ARGS[@]}" "${TESTPATCHBIN}" "${YETUS_ARGS[@]}"
''' '''
} }

View File

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