summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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