From 14bb14e7e9cc5b22ce9fbccd32dfc43b68533d5a Mon Sep 17 00:00:00 2001 From: laurentheirendt Date: Mon, 1 Apr 2019 11:49:08 +0200 Subject: [PATCH] change location of deploy tutorials script --- .artenolis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.artenolis.yml b/.artenolis.yml index 275c2965fc..937cfa5af2 100644 --- a/.artenolis.yml +++ b/.artenolis.yml @@ -27,8 +27,8 @@ after_success: python $ARTENOLIS_SCRIPTS_PATH/src/github_stats.py $(pwd)/docs/source/list_contributors.rst; export GIT_LOCAL_BRANCH=${GIT_BRANCH##origin/}; echo $GIT_LOCAL_BRANCH; - scp "$(pwd)/.artenolis/deployTutorials.sh" jenkins@lcsbs-mac-pro.uni.lux:$ARTENOLIS_ROOT_PATH_MAC; - ssh -t jenkins@lcsbs-mac-pro.uni.lux 'source ~/.profile && GIT_LOCAL_BRANCH='"'$GIT_LOCAL_BRANCH'"' && sh $ARTENOLIS_ROOT_PATH_MAC/deployTutorials.sh'; + scp "$(pwd)/.artenolis/deployTutorials.sh" jenkins@lcsbs-mac-pro.uni.lux:$ARTENOLIS_ROOT_PATH_MAC/scratch/.; + ssh -t jenkins@lcsbs-mac-pro.uni.lux 'source ~/.profile && GIT_LOCAL_BRANCH='"'$GIT_LOCAL_BRANCH'"' && sh $ARTENOLIS_ROOT_PATH_MAC/scratch/deployTutorials.sh'; scp -r jenkins@lcsbs-mac-pro.uni.lux:$ARTENOLIS_ROOT_PATH_MAC/scratch/tutorials $ARTENOLIS_DATA_PATH/cobratoolbox/.; cd $ARTENOLIS_DATA_PATH/repos/COBRA.tutorials && git stash && git checkout $GIT_LOCAL_BRANCH && git pull origin $GIT_LOCAL_BRANCH; cd $ARTENOLIS_DATA_PATH/repos/cobratoolbox && git stash && git checkout $GIT_LOCAL_BRANCH && git pull origin $GIT_LOCAL_BRANCH && git submodule update --init;