aboutsummaryrefslogtreecommitdiff
path: root/dev/run-tests-jenkins
diff options
context:
space:
mode:
authorHolden Karau <holden@us.ibm.com>2017-03-29 11:41:17 -0700
committerHolden Karau <holden@us.ibm.com>2017-03-29 11:41:17 -0700
commitd6ddfdf60e77340256873b5acf08e85f95cf3bc2 (patch)
tree434b937c2c52f4ea152813bee8fae79259e09ddf /dev/run-tests-jenkins
parentc622a87c44e0621e1b3024fdca9b2aa3c508615b (diff)
downloadspark-d6ddfdf60e77340256873b5acf08e85f95cf3bc2.tar.gz
spark-d6ddfdf60e77340256873b5acf08e85f95cf3bc2.tar.bz2
spark-d6ddfdf60e77340256873b5acf08e85f95cf3bc2.zip
[SPARK-19955][PYSPARK] Jenkins Python Conda based test.
## What changes were proposed in this pull request? Allow Jenkins Python tests to use the installed conda to test Python 2.7 support & test pip installability. ## How was this patch tested? Updated shell scripts, ran tests locally with installed conda, ran tests in Jenkins. Author: Holden Karau <holden@us.ibm.com> Closes #17355 from holdenk/SPARK-19955-support-python-tests-with-conda.
Diffstat (limited to 'dev/run-tests-jenkins')
-rwxr-xr-xdev/run-tests-jenkins3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/run-tests-jenkins b/dev/run-tests-jenkins
index e79accf9e9..f41f1ac79e 100755
--- a/dev/run-tests-jenkins
+++ b/dev/run-tests-jenkins
@@ -22,7 +22,8 @@
# Environment variables are populated by the code here:
#+ https://github.com/jenkinsci/ghprb-plugin/blob/master/src/main/java/org/jenkinsci/plugins/ghprb/GhprbTrigger.java#L139
-FWDIR="$(cd "`dirname $0`"/..; pwd)"
+FWDIR="$( cd "$( dirname "$0" )/.." && pwd )"
cd "$FWDIR"
+export PATH=/home/anaconda/bin:$PATH
exec python -u ./dev/run-tests-jenkins.py "$@"