summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Busatto <fabio@gitlab.com>2017-07-25 00:38:19 +0000
committerFabio Busatto <fabio@gitlab.com>2017-07-25 00:38:19 +0000
commit829a73af1ff0d866633d22ddea673bbf74bb4e30 (patch)
tree430c35b03fdb9e4c032fde4966987f0b0c419df9
parent41b9a08cebd8b63a0b5441244af921e631e79a51 (diff)
downloadgitlab-ce-829a73af1ff0d866633d22ddea673bbf74bb4e30.tar.gz
Update password options
-rw-r--r--doc/articles/how_to_use_gitlab_ci_to_deploy_maven_projects_to_artifactory/index.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/articles/how_to_use_gitlab_ci_to_deploy_maven_projects_to_artifactory/index.md b/doc/articles/how_to_use_gitlab_ci_to_deploy_maven_projects_to_artifactory/index.md
index b9472602e7b..784676ae8d2 100644
--- a/doc/articles/how_to_use_gitlab_ci_to_deploy_maven_projects_to_artifactory/index.md
+++ b/doc/articles/how_to_use_gitlab_ci_to_deploy_maven_projects_to_artifactory/index.md
@@ -79,7 +79,7 @@ For this scope, let's create a folder called `.m2` in the root of our repo. Insi
<server>
<id>central</id>
<username>${env.MAVEN_REPO_USER}</username>
- <password>${env.MAVEN_REPO_KEY}</password>
+ <password>${env.MAVEN_REPO_PASS}</password>
</server>
</servers>
</settings>
@@ -98,7 +98,7 @@ First of all, we should remember that we need to setup some secret variable for
and add the following secret variables (replace them with your current values, of course):
- **MAVEN_REPO_URL**: `http://artifactory.example.com:8081/artifactory` (your Artifactory URL)
- **MAVEN_REPO_USER**: `gitlab` (your Artifactory username)
-- **MAVEN_REPO_KEY**: `AKCp2WXr3G61Xjz1PLmYa3arm3yfBozPxSta4taP3SeNu2HPXYa7FhNYosnndFNNgoEds8BCS` (your Artifactory API Key)
+- **MAVEN_REPO_PASS**: `AKCp2WXr3G61Xjz1PLmYa3arm3yfBozPxSta4taP3SeNu2HPXYa7FhNYosnndFNNgoEds8BCS` (your Artifactory Encrypted Password)
Now it's time to define stages in our `.gitlab-ci.yml` file: once pushed to our repo it will instruct the GitLab Runner with all the needed commands.