Compare commits
3 commits
phoenix-bo
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| c1c65a3a7b | |||
| 6ec5fb01ef | |||
| d45092b021 |
3 changed files with 18 additions and 18 deletions
|
|
@ -68,7 +68,7 @@ upload artifacts:
|
|||
- '[[ -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_COMMIT_BRANCH"
|
||||
- 'mvn -B release:prepare -s ci_settings.xml'
|
||||
- 'mvn -B release:perform -s ci_settings.xml'
|
||||
only:
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<httpHeaders>
|
||||
<property>
|
||||
<name>Job-Token</name>
|
||||
<value>${env.CI_JOB_TOKEN}</value>
|
||||
<value>${CI_JOB_TOKEN}</value>
|
||||
</property>
|
||||
</httpHeaders>
|
||||
</configuration>
|
||||
|
|
|
|||
6
pom.xml
6
pom.xml
|
|
@ -146,17 +146,17 @@
|
|||
<repositories>
|
||||
<repository>
|
||||
<id>gitlab-maven</id>
|
||||
<url>${env.CI_SERVER_URL}/api/v4/projects/${env.CI_PROJECT_ID}/packages/maven</url>
|
||||
<url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>gitlab-maven</id>
|
||||
<url>${env.CI_SERVER_URL}/api/v4/projects/${env.CI_PROJECT_ID}/packages/maven</url>
|
||||
<url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>gitlab-maven</id>
|
||||
<url>${env.CI_SERVER_URL}/api/v4/projects/${env.CI_PROJECT_ID}/packages/maven</url>
|
||||
<url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue