From a5613efa7b22a31811cd326e9ad231911afdbde2 Mon Sep 17 00:00:00 2001 From: Enis Soztutar Date: Thu, 29 Jan 2015 15:30:05 -0800 Subject: [PATCH] HBASE-12944 Support patches to branches in precommit jenkins build (ADDENDUM moves sourcing of .properties file to start of the script) --- dev-support/test-patch.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index bacf22c3df8..0cf5c035d00 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -34,6 +34,8 @@ PATCH_DIR=/tmp BASEDIR=$(pwd) BRANCH_NAME="master" +. $BASEDIR/dev-support/test-patch.properties + PS=${PS:-ps} AWK=${AWK:-awk} WGET=${WGET:-wget} @@ -277,7 +279,6 @@ setup () { cleanupAndExit 0 fi fi - . $BASEDIR/dev-support/test-patch.properties ### exit if warnings are NOT defined in the properties file if [ -z "$OK_FINDBUGS_WARNINGS" ] || [[ -z "$OK_JAVADOC_WARNINGS" ]] || [[ -z $OK_RELEASEAUDIT_WARNINGS ]] ; then echo "Please define the following properties in test-patch.properties file"