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 (#4355)

- 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 1ef8b39 commit 3151d14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/jenkins_infra.ci.jenkins.io.yaml
Expand Up @@ -434,7 +434,7 @@ controller:
<mirror>
<id>aws-proxy</id>
<url>https://repo.aws.jenkins.io/public/</url>
<mirrorOf>*,!central,!incrementals,!elementary-releases,!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>aws-proxy-incrementals</id>
Expand Down Expand Up @@ -485,7 +485,7 @@ controller:
<mirror>
<id>azure-proxy</id>
<url>https://repo.azure.jenkins.io/public/</url>
<mirrorOf>*,!central,!incrementals,!elementary-releases,!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>azure-proxy-incrementals</id>
Expand All @@ -511,7 +511,7 @@ controller:
<mirror>
<id>do-proxy</id>
<url>https://repo.do.jenkins.io/public/</url>
<mirrorOf>*,!central,!incrementals,!elementary-releases,!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>do-proxy-incrementals</id>
Expand Down

0 comments on commit 3151d14

Please sign in to comment.