Skip to content

Commit 291a8fe

Browse files
author
Brennon York
committed
updated location of maven binary
1 parent 126ce61 commit 291a8fe

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

dev/run-tests-jenkins

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ TESTS_TIMEOUT="120m" # format: http://linux.die.net/man/1/timeout
6262
PR_TESTS=(
6363
"pr_merge_ability"
6464
"pr_public_classes"
65-
# "pr_new_dependencies"
65+
"pr_new_dependencies"
6666
)
6767

6868
function post_message () {

dev/tests/pr_new_dependencies.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@
3131
ghprbActualCommit="$1"
3232
sha1="$2"
3333

34+
MVN_BIN="`pwd`/../../build/mvn"
3435
CURR_CP_FILE="my-classpath.txt"
3536
MASTER_CP_FILE="master-classpath.txt"
3637

37-
./build/mvn clean compile dependency:build-classpath | \
38+
${MVN_BIN} clean compile dependency:build-classpath | \
3839
sed -n -e '/Building Spark Project Assembly/,$p' | \
3940
grep --context=1 -m 2 "Dependencies classpath:" | \
4041
head -n 3 | \
@@ -48,7 +49,7 @@ MASTER_CP_FILE="master-classpath.txt"
4849
# Checkout the master branch to compare against
4950
git checkout apache/master
5051

51-
./build/mvn clean compile dependency:build-classpath | \
52+
${MVN_BIN} clean compile dependency:build-classpath | \
5253
sed -n -e '/Building Spark Project Assembly/,$p' | \
5354
grep --context=1 -m 2 "Dependencies classpath:" | \
5455
head -n 3 | \
@@ -74,4 +75,4 @@ fi
7475
[ -f "${MASTER_CP_FILE}" ] && rm -f "${MASTER_CP_FILE}"
7576

7677
# Clean up our mess from the Maven builds just in case
77-
./build/mvn clean
78+
${MVN_BIN} clean

0 commit comments

Comments
 (0)