Update .gitlab-ci.yml
This commit is contained in:
parent
1300053dcd
commit
50bb6d08b1
1 changed files with 2 additions and 0 deletions
|
|
@ -66,6 +66,8 @@ upload artifacts:
|
||||||
- ssh-add <(echo "$GITLAB_RUNNER_KEY")
|
- ssh-add <(echo "$GITLAB_RUNNER_KEY")
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
||||||
|
- git config --global user.email "gitlab@c4181.xyz"
|
||||||
|
- git config --global user.name "gitlab_runner"
|
||||||
- git checkout -B "$CI_BUILD_REF_NAME"
|
- git checkout -B "$CI_BUILD_REF_NAME"
|
||||||
- 'mvn -B release:prepare -s ci_settings.xml'
|
- 'mvn -B release:prepare -s ci_settings.xml'
|
||||||
- 'mvn -B release:perform -s ci_settings.xml'
|
- 'mvn -B release:perform -s ci_settings.xml'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue