COMMIT_SHA was not set

This commit is contained in:
Martin Diehl 2017-04-12 23:36:04 +02:00
parent 4bcefa992b
commit 75a00d53e7
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ checkout:
- mkdir -p $DAMASKROOT - mkdir -p $DAMASKROOT
- git clone git@magit1.mpie.de:damask/DAMASK.git $DAMASKROOT - git clone git@magit1.mpie.de:damask/DAMASK.git $DAMASKROOT
- cd $DAMASKROOT - cd $DAMASKROOT
- export CI_COMMIT_SHA
- echo $CI_COMMIT_SHA
- git checkout $CI_COMMIT_SHA git@magit1.mpie.de:damask/DAMASK.git - git checkout $CI_COMMIT_SHA git@magit1.mpie.de:damask/DAMASK.git
- git clone git@magit1.mpie.de:damask/PRIVATE.git - git clone git@magit1.mpie.de:damask/PRIVATE.git
- eval 'source $DAMASKROOT/DAMASK_env.sh' - eval 'source $DAMASKROOT/DAMASK_env.sh'