wrong name cause 'backup' stage not to run

This commit is contained in:
Martin Diehl 2017-05-13 16:27:11 +02:00
parent 1dfe697265
commit 4437f79000
1 changed files with 9 additions and 9 deletions

View File

@ -94,7 +94,6 @@ checkout:
- git submodule update --init - git submodule update --init
- source DAMASK_env.sh - source DAMASK_env.sh
- make processing - make processing
- mkdir $BACKUP/$CI_COMMIT_SHA
except: except:
- master - master
- release - release
@ -480,14 +479,15 @@ Spectral:
- release - release
################################################################################################## ##################################################################################################
mergeIntoMaster: backupData:
stage: saveDocumentation stage: saveDocumentation
script: script:
- cp $TESTROOT/time.txt $BACKUP/$CI_COMMIT_SHA - mkdir $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}
- mv $TESTROOT/time.png $BACKUP/$CI_COMMIT_SHA - cp $TESTROOT/time.txt $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}/
- cp $TESTROOT/time.txt $BACKUP/$CI_COMMIT_SHA - mv $TESTROOT/time.png $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}/
- mv $TESTROOT/time.png $BACKUP/$CI_COMMIT_SHA - cp $TESTROOT/time.txt $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}/
- mv $DAMASKROOT/PRIVATE/documenting/DAMASK_* $BACKUP/$CI_COMMIT_SHA/ - mv $TESTROOT/time.png $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}/
- mv $DAMASKROOT/PRIVATE/documenting/DAMASK_* $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}/
except: except:
- master - master
- release - release
@ -512,9 +512,9 @@ mergeIntoMaster:
- development - development
################################################################################################### ###################################################################################################
removeData: removeData:
stage: clean stage: clean
before_script: before_script:
- echo 'Do nothing' - echo 'Do nothing'
script: script:
- rm -rf $TESTROOT/GitLabCI_Pipeline_$CI_PIPELINE_ID - rm -rf $TESTROOT/GitLabCI_Pipeline_$CI_PIPELINE_ID