HBASE-22174 Remove error prone from our precommit javac check

This commit is contained in:
zhangduo 2019-04-06 13:51:02 +08:00
parent e12d15ce8b
commit 5fdc4fb437
2 changed files with 5 additions and 1 deletions

View File

@ -153,6 +153,7 @@ pipeline {
YETUS_ARGS+=("--whitespace-tabs-ignore-list=.*/generated/.*")
YETUS_ARGS+=("--personality=${SOURCEDIR}/dev-support/hbase-personality.sh")
YETUS_ARGS+=("--quick-hadoopcheck")
YETUS_ARGS+=("--skip-errorprone")
# effectively treat dev-support as a custom maven module
YETUS_ARGS+=("--skip-dir=dev-support")
# help keep the ASF boxes clean

View File

@ -94,6 +94,9 @@ function personality_parse_args
--hadoop-profile=*)
HADOOP_PROFILE=${i#*=}
;;
--skip-errorprone)
SKIP_ERRORPRONE=true
;;
esac
done
}
@ -165,7 +168,7 @@ function personality_modules
return
fi
if [[ ${testtype} == compile ]]; then
if [[ ${testtype} == compile ]] && [[ "${SKIP_ERRORPRONE}" != "true" ]]; then
extra="${extra} -PerrorProne"
fi