working around cd

This commit is contained in:
Martin Diehl 2017-04-13 07:43:36 +02:00
parent 1b71b098d4
commit 4d80f7f8ac
1 changed files with 3 additions and 5 deletions

View File

@ -83,16 +83,14 @@ checkout:
- echo $CI_PIPELINE_ID > $HOME/GitLabCI.lock
script:
- mkdir -p $DAMASKROOT
- git clone git@magit1.mpie.de:damask/DAMASK.git $DAMASKROOT
- cd $DAMASKROOT
- git checkout $CI_COMMIT_SHA
#- git clone git@magit1.mpie.de:damask/PRIVATE.git
- git clone -b $CI_COMMIT_SHA git@magit1.mpie.de:damask/DAMASK.git $DAMASKROOT
#- git clone -q git@magit1.mpie.de:damask/PRIVATE.git
- echo $DAMASKROOT
- echo $PWD
- type source
- type .
- type cd
- cat DAMASK_env.sh
- cat $DAMASKROOT/DAMASK_env.sh
- echo $SHELL
- echo $0
- . $DAMASKROOT/DAMASK_env.sh > /tmp/log