Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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