Skip to content
Snippets Groups Projects
Commit f0d9f617 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

ci managing temporary branch

parent 5eea0cdc
No related branches found
No related tags found
1 merge request!13Main
Pipeline #17029 passed
......@@ -34,9 +34,11 @@ stages:
- cd $CI_PROJECT_DIR
# configure git
- export CI_NEW_BRANCH=ci_processing$RANDOM
- if [ `git rev-parse --verify ci_processing 2>/dev/null` ]; then
- git branch -delete ci_processing
- fi
- export CI_NEW_BRANCH=ci_processing
- echo creating new temporary branch... $CI_NEW_BRANCH
#- export CI_NEW_BRANCH=ci_processing$CI_COMMIT_SHORT_SHA
- git config --global user.email "${CI_EMAIL}"
- git config --global user.name "${CI_USERNAME}"
- git checkout -b $CI_NEW_BRANCH # temporary branch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment