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