diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2017-06-21 22:31:13 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2017-06-21 22:31:13 -0400 |
commit | 86f82d78c591440ab0a242d2b18d00143a9982a3 (patch) | |
tree | f041c5881ae6329dcaa5296add3f4c700a1aeb10 | |
parent | ef413bb8bf87931b3ca8e79eedfaf835c8311a71 (diff) | |
download | hello_world-86f82d78c591440ab0a242d2b18d00143a9982a3.tar.gz |
blargh
-rwxr-xr-x | .jenkins/install_conda.sh | 2 | ||||
-rw-r--r-- | Jenkinsfile | 3 |
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' } } |