diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2017-06-21 23:32:15 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2017-06-21 23:32:15 -0400 |
commit | 3073779b0f6199b7f68196086079a4199eb33687 (patch) | |
tree | 7e65ca2cabf49daaebb7debf255b9817404066c6 | |
parent | 9e98160d4927c93a00d233d7a799d4ecdf4392a5 (diff) | |
download | hello_world-3073779b0f6199b7f68196086079a4199eb33687.tar.gz |
sigh
-rwxr-xr-x | .jenkins/install_conda.sh | 6 | ||||
-rw-r--r-- | .jenkins/use_conda.sh | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/.jenkins/install_conda.sh b/.jenkins/install_conda.sh index 435ff21..6697166 100755 --- a/.jenkins/install_conda.sh +++ b/.jenkins/install_conda.sh @@ -1,3 +1,5 @@ #!/bin/bash -e -wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -bash Miniconda3-latest-Linux-x86_64.sh -b -p ${WORKSPACE}/mc3 +[ -d ${WORKSPACE}@tmp/mc3 ] && exit 0 + +wget -q https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh +bash Miniconda3-latest-Linux-x86_64.sh -b -p ${WORKSPACE}@tmp/mc3 diff --git a/.jenkins/use_conda.sh b/.jenkins/use_conda.sh index 1c215f7..c573d53 100644 --- a/.jenkins/use_conda.sh +++ b/.jenkins/use_conda.sh @@ -1 +1 @@ -export PATH=${WORKSPACE}/mc3/bin:$PATH +export PATH=${WORKSPACE}@tmp/mc3/bin:$PATH |