summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorKulhanek <tomas.kulhanek@stfc.ac.uk>2019-01-09 12:45:42 +0000
committerKulhanek <tomas.kulhanek@stfc.ac.uk>2019-01-09 12:45:42 +0000
commit73eab3d64f2bf5ad170bea35c4db1d3ae5758c06 (patch)
tree397adf67bbb83e95ffcb7acf6135ea4e808f7ed1 /build
parent8d872f6d37c73dd1bc2e47f2bdf30058c78679f5 (diff)
downloadregularization-73eab3d64f2bf5ad170bea35c4db1d3ae5758c06.tar.gz
regularization-73eab3d64f2bf5ad170bea35c4db1d3ae5758c06.tar.bz2
regularization-73eab3d64f2bf5ad170bea35c4db1d3ae5758c06.tar.xz
regularization-73eab3d64f2bf5ad170bea35c4db1d3ae5758c06.zip
version top in script
Diffstat (limited to 'build')
-rwxr-xr-xbuild/jenkins-build.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/build/jenkins-build.sh b/build/jenkins-build.sh
index c660c02..4699e9b 100755
--- a/build/jenkins-build.sh
+++ b/build/jenkins-build.sh
@@ -1,4 +1,11 @@
#!/usr/bin/env bash
+if [[ -n ${CIL_VERSION} ]]
+then
+ echo Using defined version: $CIL_VERSION
+else
+ export CIL_VERSION=0.10.4
+ echo Defining version: $CIL_VERSION
+fi
# Script to builds source code in Jenkins environment
# module try-load conda
@@ -18,13 +25,6 @@ fi
# git clone https://github.com/vais-ral/CCPi-Regularisation-Toolkit
conda install -y conda-build
#export CIL_VERSION=0.10.2
-if [[ -n ${CIL_VERSION} ]]
-then
- echo Using defined version: $CIL_VERSION
-else
- export CIL_VERSION=0.10.4
- echo Defining version: $CIL_VERSION
-fi
#cd CCPi-Regularisation-Toolkit # already there by jenkins
# need to call first build
conda build Wrappers/Python/conda-recipe