correct escape

This commit is contained in:
Martin Diehl 2017-04-15 12:44:02 +02:00
parent d2b6fdd453
commit 65985e3dd7
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ checkout:
stage: prepareAll
before_script:
- echo $CI_PIPELINE_ID >> $HOME/GitLabCI.queue
- while [ "$(awk '/$CI_PIPELINE_ID/{print NR}' $HOME/GitLabCI.queue)" -ne 1 ];do sleep 5m; done
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $HOME/GitLabCI.queue)" -ne 1 ];do sleep 5m; done
script:
- mkdir -p $DAMASKROOT
- git clone -q git@magit1.mpie.de:damask/DAMASK.git $DAMASKROOT
@ -484,7 +484,7 @@ removeLock:
before_script:
- echo 'Do nothing'
when: always
script: sed -i '/$CI_PIPELINE_ID/d' $HOME/GitLabCI.queue
script: sed -i "/$CI_PIPELINE_ID/d" $HOME/GitLabCI.queue
except:
- master
- release