You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by nd...@apache.org on 2022/11/10 12:28:09 UTC
[hbase] branch master updated: HBASE-27477 Tweak hbase-vote.sh to support hbase-thirdparty
This is an automated email from the ASF dual-hosted git repository.
ndimiduk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new da997384a43 HBASE-27477 Tweak hbase-vote.sh to support hbase-thirdparty
da997384a43 is described below
commit da997384a4303aceff993b84e604c617608f836e
Author: Nick Dimiduk <nd...@apache.org>
AuthorDate: Thu Nov 10 13:27:58 2022 +0100
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 <zh...@apache.org>
---
dev-support/hbase-vote.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-support/hbase-vote.sh b/dev-support/hbase-vote.sh
index 11267757b25..14286dca8ad 100755
--- a/dev-support/hbase-vote.sh
+++ b/dev-support/hbase-vote.sh
@@ -159,7 +159,7 @@ function build_from_source() {
function run_tests() {
rm -f "${OUTPUT_PATH_PREFIX}"_run_tests
- mvn package "${MVN_PROFILES[@]}" "${MVN_PROPERTIES[@]}" -Dsurefire.rerunFailingTestsCount=3 2>&1 | tee "${OUTPUT_PATH_PREFIX}"_run_tests && UNIT_TEST_PASSED=1
+ mvn clean package "${MVN_PROFILES[@]}" "${MVN_PROPERTIES[@]}" -Dsurefire.rerunFailingTestsCount=3 2>&1 | tee "${OUTPUT_PATH_PREFIX}"_run_tests && UNIT_TEST_PASSED=1
}
function execute() {
@@ -175,7 +175,7 @@ function print_when_exit() {
* Built from source (${JAVA_VERSION}): $( ((BUILD_FROM_SOURCE_PASSED)) && echo "ok" || echo "failed" )
- mvn clean install ${MVN_PROPERTIES[@]} -DskipTests
* Unit tests pass (${JAVA_VERSION}): $( ((UNIT_TEST_PASSED)) && echo "ok" || echo "failed" )
- - mvn package ${MVN_PROFILES[@]} ${MVN_PROPERTIES[@]} -Dsurefire.rerunFailingTestsCount=3
+ - mvn clean package ${MVN_PROFILES[@]} ${MVN_PROPERTIES[@]} -Dsurefire.rerunFailingTestsCount=3
__EOF
if ((CHECKSUM_PASSED)) && ((SIGNATURE_PASSED)) && ((RAT_CHECK_PASSED)) && ((BUILD_FROM_SOURCE_PASSED)) && ((UNIT_TEST_PASSED)) ; then
exit 0