Skip to content

Commit

Permalink
fix(ci.jenkins.io) exclude all externals Maven repositories from ACP …
Browse files Browse the repository at this point in the history
…mirroring (#3070)

- https://maven.apache.org/guides/mini/guide-mirror-settings.html#AdvancedMirrorSpecification mentions that `external:*` is
  a pattern matching "all repositories" except URLs to localhost or file based.
- Found in jenkinsci/maven-hpi-plugin#537 which pointed to https://maven.apache.org/plugins/maven-invoker-plugin/examples/fast-use.html#fast-build-configuration-mergeusersettings-and-mirrors
- Remove the `!local` exception added as part of jenkins-infra/helpdesk#3567 (replaced by the `external:` pattern)

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
  • Loading branch information
dduportal committed Sep 17, 2023
1 parent 4c2c257 commit 0d4b8e4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -11,7 +11,7 @@ unclassified:
<mirror>
<id><%= providerId %>-proxy</id>
<url>https://repo.<%= providerId %>.jenkins.io/public/</url>
<mirrorOf>*,!central,!incrementals,!chimera-releases,!chimera-snapshots,!atlassian-public,!org.zowe.sdk,!local,!jitpack.io</mirrorOf>
<mirrorOf>external:*,!central,!incrementals,!chimera-releases,!chimera-snapshots,!atlassian-public,!org.zowe.sdk,!jitpack.io</mirrorOf>
</mirror>
<mirror>
<id><%= providerId %>-proxy-incrementals</id>
Expand Down

0 comments on commit 0d4b8e4

Please sign in to comment.