aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.jenkins/install_conda.sh2
-rw-r--r--Jenkinsfile3
2 files changed, 3 insertions, 2 deletions
diff --git a/.jenkins/install_conda.sh b/.jenkins/install_conda.sh
index 96c1b39..435ff21 100755
--- a/.jenkins/install_conda.sh
+++ b/.jenkins/install_conda.sh
@@ -1,3 +1,3 @@
#!/bin/bash -e
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
-bash Miniconda3-latest-Linux-x86_64.sh -b -p ${HOME}/mc3
+bash Miniconda3-latest-Linux-x86_64.sh -b -p ${WORKSPACE}/mc3
diff --git a/Jenkinsfile b/Jenkinsfile
index 2615849..2ebef0f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -5,7 +5,8 @@ pipeline {
stage('Bootstrap') {
steps {
sh '.jenkins/install_conda.sh'
- sh 'export PATH=${HOME}/mc3/bin:$PATH'
+ sh 'PATH=${WORKSPACE}/mc3/bin:$PATH source activate root'
+ sh '${WORKSPACE}/mc3/bin/python --version'
sh 'python --version'
}
}