Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
1abfcc82
Commit
1abfcc82
authored
4 years ago
by
Rhys Arkins
Browse files
Options
Downloads
Patches
Plain Diff
docs: fix java, nuget endpoint->baseUrl packageRules
Ref: #7912 #7959
parent
592259ba
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/usage/java.md
+21
-19
21 additions, 19 deletions
docs/usage/java.md
docs/usage/nuget.md
+1
-1
1 addition, 1 deletion
docs/usage/nuget.md
with
22 additions
and
20 deletions
docs/usage/java.md
+
21
−
19
View file @
1abfcc82
...
...
@@ -40,26 +40,28 @@ Renovate will search repositories for all `pom.xml` files and processes them ind
Here is an example configuration to work with custom Artifactory servers using authentication:
```
```
json
{
"maven": {
"enabled": true
},
"hostRules": [{
"hostType": "maven",
"endpoint": "https://artifactoryurl1/",
"username": "artifactoryusername",
"password": "artifactorypassword"
}, {
"hostType": "maven",
"endpoint": "https://artifactoryurl2/",
"username": "artifactoryusername",
"password": "artifactorypassword"
}],
"packageRules": [{
"managers": ["maven"],
"registryUrls": ["https://artifactoryurl1/", "https://artifactoryurl2/"]
}]
"hostRules"
:
[
{
"hostType"
:
"maven"
,
"baseUrl"
:
"https://artifactoryurl1/"
,
"username"
:
"artifactoryusername"
,
"password"
:
"artifactorypassword"
},
{
"hostType"
:
"maven"
,
"baseUrl"
:
"https://artifactoryurl2/"
,
"username"
:
"artifactoryusername"
,
"password"
:
"artifactorypassword"
}
],
"packageRules"
:
[
{
"managers"
:
[
"maven"
],
"registryUrls"
:
[
"https://artifactoryurl1/"
,
"https://artifactoryurl2/"
]
}
]
}
```
...
...
This diff is collapsed.
Click to expand it.
docs/usage/nuget.md
+
1
−
1
View file @
1abfcc82
...
...
@@ -65,7 +65,7 @@ Credentials for authenticated/private feeds can be provided via host rules in th
"hostRules"
:
[
{
"hostType"
:
"nuget"
,
"
endpoint
"
:
"http://example1.com/nuget"
,
"
baseUrl
"
:
"http://example1.com/nuget"
,
"username"
:
"root"
,
"password"
:
"p4$$w0rd"
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment