Merge pull request #113 from Apache9/HBASE-22174
HBASE-22174 Remove error prone from our precommit javac check
This commit is contained in:
commit
1233ca7bf8
|
@ -153,6 +153,7 @@ pipeline {
|
||||||
YETUS_ARGS+=("--whitespace-tabs-ignore-list=.*/generated/.*")
|
YETUS_ARGS+=("--whitespace-tabs-ignore-list=.*/generated/.*")
|
||||||
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")
|
||||||
# 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-dir=dev-support")
|
||||||
# help keep the ASF boxes clean
|
# help keep the ASF boxes clean
|
||||||
|
|
|
@ -94,6 +94,9 @@ function personality_parse_args
|
||||||
--hadoop-profile=*)
|
--hadoop-profile=*)
|
||||||
HADOOP_PROFILE=${i#*=}
|
HADOOP_PROFILE=${i#*=}
|
||||||
;;
|
;;
|
||||||
|
--skip-errorprone)
|
||||||
|
SKIP_ERRORPRONE=true
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
@ -166,7 +169,7 @@ function personality_modules
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ${testtype} == compile ]]; then
|
if [[ ${testtype} == compile ]] && [[ "${SKIP_ERRORPRONE}" != "true" ]]; then
|
||||||
extra="${extra} -PerrorProne"
|
extra="${extra} -PerrorProne"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue