Skip to content

Commit da99738

Browse files
authored
HBASE-27477 Tweak hbase-vote.sh to support hbase-thirdparty
With a small change, the hbase-vote.sh script can be used to verify release candidates produced from the hbase-thirdparty repository. Probably more could be done that is specific to this project's release artifacts, but this minor change enables the basics. Signed-off-by: Duo Zhang <[email protected]>
1 parent 6c32d1a commit da99738

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev-support/hbase-vote.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function build_from_source() {
159159

160160
function run_tests() {
161161
rm -f "${OUTPUT_PATH_PREFIX}"_run_tests
162-
mvn package "${MVN_PROFILES[@]}" "${MVN_PROPERTIES[@]}" -Dsurefire.rerunFailingTestsCount=3 2>&1 | tee "${OUTPUT_PATH_PREFIX}"_run_tests && UNIT_TEST_PASSED=1
162+
mvn clean package "${MVN_PROFILES[@]}" "${MVN_PROPERTIES[@]}" -Dsurefire.rerunFailingTestsCount=3 2>&1 | tee "${OUTPUT_PATH_PREFIX}"_run_tests && UNIT_TEST_PASSED=1
163163
}
164164

165165
function execute() {
@@ -175,7 +175,7 @@ function print_when_exit() {
175175
* Built from source (${JAVA_VERSION}): $( ((BUILD_FROM_SOURCE_PASSED)) && echo "ok" || echo "failed" )
176176
- mvn clean install ${MVN_PROPERTIES[@]} -DskipTests
177177
* Unit tests pass (${JAVA_VERSION}): $( ((UNIT_TEST_PASSED)) && echo "ok" || echo "failed" )
178-
- mvn package ${MVN_PROFILES[@]} ${MVN_PROPERTIES[@]} -Dsurefire.rerunFailingTestsCount=3
178+
- mvn clean package ${MVN_PROFILES[@]} ${MVN_PROPERTIES[@]} -Dsurefire.rerunFailingTestsCount=3
179179
__EOF
180180
if ((CHECKSUM_PASSED)) && ((SIGNATURE_PASSED)) && ((RAT_CHECK_PASSED)) && ((BUILD_FROM_SOURCE_PASSED)) && ((UNIT_TEST_PASSED)) ; then
181181
exit 0

0 commit comments

Comments
 (0)