From 86f82d78c591440ab0a242d2b18d00143a9982a3 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 21 Jun 2017 22:31:13 -0400 Subject: blargh --- .jenkins/install_conda.sh | 2 +- 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' } } -- cgit