Commit 375b277a authored by Reza Sahebgharan's avatar Reza Sahebgharan

fix(test): add on failure stage to delete files in failure

parent 7f78fcc8
Pipeline #264 failed with stage
in 2 minutes and 44 seconds
...@@ -14,3 +14,8 @@ build: ...@@ -14,3 +14,8 @@ build:
- git config --global user.email "${GITLAB_USER_EMAIL}" - git config --global user.email "${GITLAB_USER_EMAIL}"
- git push https://${reza.s}:${qsqzcicpbVxwhGPFBdwx}@git.marcopacs.com/Reza.s/karname-ui.git --tags - git push https://${reza.s}:${qsqzcicpbVxwhGPFBdwx}@git.marcopacs.com/Reza.s/karname-ui.git --tags
- docker-compose build --force-rm - docker-compose build --force-rm
on_test_failure:
stage: build
script: del /S /F /Q .
when: on_failure
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment