Skip to content

Commit

Permalink
HBASE-22174 Remove error prone from our precommit javac check
Browse files Browse the repository at this point in the history
  • Loading branch information
Apache9 committed Apr 6, 2019
1 parent 6abf408 commit 86f9443
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions dev-support/Jenkinsfile_GitHub
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion dev-support/hbase-personality.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ function personality_parse_args
--hadoop-profile=*)
HADOOP_PROFILE=${i#*=}
;;
--skip-errorprone)
SKIP_ERRORPRONE=true
;;
esac
done
}
Expand Down Expand Up @@ -166,7 +169,7 @@ function personality_modules
return
fi

if [[ ${testtype} == compile ]]; then
if [[ ${testtype} == compile ]] && [[ "${SKIP_ERRORPRONE}" != "true" ]]; then
extra="${extra} -PerrorProne"
fi

Expand Down

0 comments on commit 86f9443

Please sign in to comment.