summaryrefslogtreecommitdiffstats
path: root/build/jenkins-build.sh
diff options
context:
space:
mode:
authorTomas Kulhanek <tomas.kulhanek@stfc.ac.uk>2019-01-22 12:56:54 +0000
committerGitHub <noreply@github.com>2019-01-22 12:56:54 +0000
commitd230d45834dab1b7dc13ed189771e6bd8821cb96 (patch)
tree0562b518c62d77d536132ef89d1fec6fb66df674 /build/jenkins-build.sh
parent84811ac4418fb7f72dfcb7cb8329cf05ed0fb538 (diff)
parent7c9c66198cba8e1b83d0e1c57a150aae4e3644f6 (diff)
downloadregularization-d230d45834dab1b7dc13ed189771e6bd8821cb96.tar.gz
regularization-d230d45834dab1b7dc13ed189771e6bd8821cb96.tar.bz2
regularization-d230d45834dab1b7dc13ed189771e6bd8821cb96.tar.xz
regularization-d230d45834dab1b7dc13ed189771e6bd8821cb96.zip
Merge branch 'master' into pr-test
Diffstat (limited to 'build/jenkins-build.sh')
-rwxr-xr-xbuild/jenkins-build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/jenkins-build.sh b/build/jenkins-build.sh
index a808699..e4a0535 100755
--- a/build/jenkins-build.sh
+++ b/build/jenkins-build.sh
@@ -44,8 +44,10 @@ export REG_FILES=`conda build Wrappers/Python/conda-recipe --output`
# REG_FILES variable should contain output files
echo files created: $REG_FILES
+
# upload to anaconda only if token is defined
# and TODO pull request not to upload
+
if [[ -n ${CCPI_CONDA_TOKEN} ]]
then
conda install anaconda-client