Skip to content
Snippets Groups Projects
Commit 1abfcc82 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

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
...@@ -40,26 +40,28 @@ Renovate will search repositories for all `pom.xml` files and processes them ind ...@@ -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: Here is an example configuration to work with custom Artifactory servers using authentication:
``` ```json
{ {
"maven": { "hostRules": [
"enabled": true {
}, "hostType": "maven",
"hostRules": [{ "baseUrl": "https://artifactoryurl1/",
"hostType": "maven", "username": "artifactoryusername",
"endpoint": "https://artifactoryurl1/", "password": "artifactorypassword"
"username": "artifactoryusername", },
"password": "artifactorypassword" {
}, { "hostType": "maven",
"hostType": "maven", "baseUrl": "https://artifactoryurl2/",
"endpoint": "https://artifactoryurl2/", "username": "artifactoryusername",
"username": "artifactoryusername", "password": "artifactorypassword"
"password": "artifactorypassword" }
}], ],
"packageRules": [{ "packageRules": [
"managers": ["maven"], {
"registryUrls": ["https://artifactoryurl1/", "https://artifactoryurl2/"] "managers": ["maven"],
}] "registryUrls": ["https://artifactoryurl1/", "https://artifactoryurl2/"]
}
]
} }
``` ```
......
...@@ -65,7 +65,7 @@ Credentials for authenticated/private feeds can be provided via host rules in th ...@@ -65,7 +65,7 @@ Credentials for authenticated/private feeds can be provided via host rules in th
"hostRules": [ "hostRules": [
{ {
"hostType": "nuget", "hostType": "nuget",
"endpoint": "http://example1.com/nuget", "baseUrl": "http://example1.com/nuget",
"username": "root", "username": "root",
"password": "p4$$w0rd" "password": "p4$$w0rd"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment