From 66906609db636a966571981eb553479587f6d314 Mon Sep 17 00:00:00 2001 From: Alyssa Morrow Date: Thu, 12 Apr 2018 09:55:29 -0700 Subject: [PATCH 1/2] fix for dirty jars in jenkins-test --- scripts/jenkins-test | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/jenkins-test b/scripts/jenkins-test index 366eb941d..172241bdf 100755 --- a/scripts/jenkins-test +++ b/scripts/jenkins-test @@ -195,6 +195,9 @@ then make prepare popd + # clear distribution in case there are residual jars + rm -rf mango-distribution/target/ + # we can run the python build, now that we have a spark executable mvn -U \ -P python,distribution \ From 82675095b1323477799cea956a917ef0559acd8f Mon Sep 17 00:00:00 2001 From: Alyssa Morrow Date: Thu, 12 Apr 2018 11:52:29 -0700 Subject: [PATCH 2/2] moved rm line --- scripts/jenkins-test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/jenkins-test b/scripts/jenkins-test index 172241bdf..b25025c70 100755 --- a/scripts/jenkins-test +++ b/scripts/jenkins-test @@ -74,6 +74,9 @@ echo "Testing MANGO version ${VERSION} on Spark ${SPARK_VERSION} and Hadoop ${HA # clean the targets first mvn clean +# clear distribution in case there are residual jars +rm -rf mango-distribution/target/ + # if this is a pull request, we need to set the coveralls pr id if [[ ! -z $ghprbPullId ]]; then @@ -195,9 +198,6 @@ then make prepare popd - # clear distribution in case there are residual jars - rm -rf mango-distribution/target/ - # we can run the python build, now that we have a spark executable mvn -U \ -P python,distribution \