Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 491972009C6 for ; Sun, 1 May 2016 08:55:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 479EB1609A9; Sun, 1 May 2016 08:55:04 +0200 (CEST) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 678FC16093B for ; Sun, 1 May 2016 08:55:03 +0200 (CEST) Received: (qmail 4949 invoked by uid 500); 1 May 2016 06:55:02 -0000 Mailing-List: contact commits-help@yetus.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@yetus.apache.org Delivered-To: mailing list commits@yetus.apache.org Received: (qmail 4940 invoked by uid 99); 1 May 2016 06:55:02 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 May 2016 06:55:02 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5C402DFA44; Sun, 1 May 2016 06:55:02 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sekikn@apache.org To: commits@yetus.apache.org Message-Id: <02dad830b6a6466fa907bc34f3880414@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: yetus git commit: YETUS-388. test-patch fails when no maven found Date: Sun, 1 May 2016 06:55:02 +0000 (UTC) archived-at: Sun, 01 May 2016 06:55:04 -0000 Repository: yetus Updated Branches: refs/heads/master 6c003865c -> e9362a039 YETUS-388. test-patch fails when no maven found Signed-off-by: Kengo Seki Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/e9362a03 Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/e9362a03 Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/e9362a03 Branch: refs/heads/master Commit: e9362a03961f60e090943ad570d72afb0c7b6477 Parents: 6c00386 Author: Allen Wittenauer Authored: Thu Apr 28 12:23:56 2016 -0700 Committer: Kengo Seki Committed: Sun May 1 15:54:28 2016 +0900 ---------------------------------------------------------------------- precommit/core.d/01-common.sh | 3 ++- precommit/personality/accumulo.sh | 2 ++ precommit/personality/drill.sh | 2 ++ precommit/personality/flink.sh | 4 +++- precommit/personality/hadoop.sh | 2 ++ precommit/personality/hbase.sh | 1 + precommit/personality/tajo.sh | 2 ++ precommit/personality/tez.sh | 2 ++ precommit/test-patch.sh | 1 - 9 files changed, 16 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/e9362a03/precommit/core.d/01-common.sh ---------------------------------------------------------------------- diff --git a/precommit/core.d/01-common.sh b/precommit/core.d/01-common.sh index f31d613..829cc9e 100755 --- a/precommit/core.d/01-common.sh +++ b/precommit/core.d/01-common.sh @@ -23,6 +23,7 @@ function common_defaults #shellcheck disable=SC2034 BASEDIR=$(pwd) BUGSYSTEMS="" + BUILDTOOL="nobuild" BUILDTOOLS="" #shellcheck disable=SC2034 EXEC_MODES="" @@ -258,7 +259,7 @@ function plugins_initialize { declare plugin - for plugin in ${TESTTYPES} ${BUGSYSTEMS} ${TESTFORMATS} ${BUILDTOOLS}; do + for plugin in ${TESTTYPES} ${BUGSYSTEMS} ${TESTFORMATS} ${BUILDTOOL}; do if declare -f ${plugin}_initialize >/dev/null 2>&1; then yetus_debug "Running ${plugin}_initialize" #shellcheck disable=SC2086 http://git-wip-us.apache.org/repos/asf/yetus/blob/e9362a03/precommit/personality/accumulo.sh ---------------------------------------------------------------------- diff --git a/precommit/personality/accumulo.sh b/precommit/personality/accumulo.sh index d99bf82..f2d3e7c 100755 --- a/precommit/personality/accumulo.sh +++ b/precommit/personality/accumulo.sh @@ -22,6 +22,8 @@ personality_plugins "all" ## @stability evolving function personality_globals { + # shellcheck disable=SC2034 + BUILDTOOL=maven #shellcheck disable=SC2034 PATCH_BRANCH_DEFAULT=master #shellcheck disable=SC2034 http://git-wip-us.apache.org/repos/asf/yetus/blob/e9362a03/precommit/personality/drill.sh ---------------------------------------------------------------------- diff --git a/precommit/personality/drill.sh b/precommit/personality/drill.sh index b58ed07..cc35d45 100755 --- a/precommit/personality/drill.sh +++ b/precommit/personality/drill.sh @@ -21,6 +21,8 @@ personality_plugins "all" ## @stability evolving function personality_globals { + # shellcheck disable=SC2034 + BUILDTOOL=maven #shellcheck disable=SC2034 GITHUB_REPO="apache/drill" #shellcheck disable=SC2034 http://git-wip-us.apache.org/repos/asf/yetus/blob/e9362a03/precommit/personality/flink.sh ---------------------------------------------------------------------- diff --git a/precommit/personality/flink.sh b/precommit/personality/flink.sh index 76fa418..a9c0fdf 100755 --- a/precommit/personality/flink.sh +++ b/precommit/personality/flink.sh @@ -21,6 +21,8 @@ personality_plugins "all" ## @stability evolving function personality_globals { + # shellcheck disable=SC2034 + BUILDTOOL=maven #shellcheck disable=SC2034 PATCH_BRANCH_DEFAULT=master #shellcheck disable=SC2034 @@ -110,4 +112,4 @@ function flinklib_rebuild "$((FLINK_PRE_LIB_FILES-FLINK_POST_LIB_FILES))." fi return 0 -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/yetus/blob/e9362a03/precommit/personality/hadoop.sh ---------------------------------------------------------------------- diff --git a/precommit/personality/hadoop.sh b/precommit/personality/hadoop.sh index 5b96994..2bbfd0e 100755 --- a/precommit/personality/hadoop.sh +++ b/precommit/personality/hadoop.sh @@ -23,6 +23,8 @@ personality_plugins "all,-ant,-gradle,-scalac,-scaladoc" ## @stability evolving function personality_globals { + # shellcheck disable=SC2034 + BUILDTOOL=maven #shellcheck disable=SC2034 PATCH_BRANCH_DEFAULT=trunk #shellcheck disable=SC2034 http://git-wip-us.apache.org/repos/asf/yetus/blob/e9362a03/precommit/personality/hbase.sh ---------------------------------------------------------------------- diff --git a/precommit/personality/hbase.sh b/precommit/personality/hbase.sh index 5e6f0dc..ff2b516 100755 --- a/precommit/personality/hbase.sh +++ b/precommit/personality/hbase.sh @@ -21,6 +21,7 @@ personality_plugins "all" ## @stability evolving function personality_globals { + BUILDTOOL=maven #shellcheck disable=SC2034 PROJECT_NAME=hbase #shellcheck disable=SC2034 http://git-wip-us.apache.org/repos/asf/yetus/blob/e9362a03/precommit/personality/tajo.sh ---------------------------------------------------------------------- diff --git a/precommit/personality/tajo.sh b/precommit/personality/tajo.sh index 32b4242..fb86ff7 100755 --- a/precommit/personality/tajo.sh +++ b/precommit/personality/tajo.sh @@ -21,6 +21,8 @@ personality_plugins "all" ## @stability evolving function personality_globals { + # shellcheck disable=SC2034 + BUILDTOOL=maven #shellcheck disable=SC2034 PATCH_BRANCH_DEFAULT=master #shellcheck disable=SC2034 http://git-wip-us.apache.org/repos/asf/yetus/blob/e9362a03/precommit/personality/tez.sh ---------------------------------------------------------------------- diff --git a/precommit/personality/tez.sh b/precommit/personality/tez.sh index 4b0e3ec..32d9ffc 100755 --- a/precommit/personality/tez.sh +++ b/precommit/personality/tez.sh @@ -21,6 +21,8 @@ personality_plugins "all" ## @stability evolving function personality_globals { + # shellcheck disable=SC2034 + BUILDTOOL=maven #shellcheck disable=SC2034 PATCH_BRANCH_DEFAULT=master #shellcheck disable=SC2034 http://git-wip-us.apache.org/repos/asf/yetus/blob/e9362a03/precommit/test-patch.sh ---------------------------------------------------------------------- diff --git a/precommit/test-patch.sh b/precommit/test-patch.sh index 05a075e..ec18134 100755 --- a/precommit/test-patch.sh +++ b/precommit/test-patch.sh @@ -98,7 +98,6 @@ function setup_defaults BUILDMODEMSG="The patch" ISSUE="" TIMER=$(date +"%s") - BUILDTOOL=maven JVM_REQUIRED=true yetus_add_entry JDK_TEST_LIST compile yetus_add_entry JDK_TEST_LIST unit