Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-07-28 21:09:36 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-07-28 21:09:36 +0300
commit05480e90f3e45c2e42e17acb568b7b1690c70162 (patch)
treed080027a8583204d8e2c45211c1a045bea1a6428 /doc/user/packages/maven_repository
parentf493fb909d2737f819fee25121251dfb482e79dd (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/packages/maven_repository')
-rw-r--r--doc/user/packages/maven_repository/index.md9
1 files changed, 2 insertions, 7 deletions
diff --git a/doc/user/packages/maven_repository/index.md b/doc/user/packages/maven_repository/index.md
index edd5cd5d42a..0098ab1bbcb 100644
--- a/doc/user/packages/maven_repository/index.md
+++ b/doc/user/packages/maven_repository/index.md
@@ -322,7 +322,7 @@ repositories {
name "GitLab"
credentials(HttpHeaderCredentials) {
name = 'Job-Token'
- value = '${CI_JOB_TOKEN}'
+ value = System.getenv("CI_JOB_TOKEN")
}
authentication {
header(HttpHeaderAuthentication)
@@ -690,7 +690,7 @@ downloaded from the GitLab Package Registry:
Downloading from gitlab-maven: http://gitlab.com/api/v4/projects/PROJECT_ID/packages/maven/com/mycompany/mydepartment/my-project/1.0-SNAPSHOT/my-project-1.0-20200128.120857-1.pom
```
-#### Install with `mvn dependency:get`
+### Install using Maven with `mvn dependency:get`
The second way to install packages is to use the Maven commands directly.
Inside your project directory, run:
@@ -817,11 +817,6 @@ is updated:
1. Push those files to your repository.
-The next time the `deploy` job runs, it will copy `ci_settings.xml` to the
-user's home location (in this case the user is `root` since it runs in a
-Docker container), and Maven will use the configured CI
-[environment variables](../../../ci/variables/README.md#predefined-environment-variables).
-
### Version validation
The version string is validated using the following regex.