I'm using the artifact caching proxy with 10+ plugins that I maintain without any issue. +1 from me to make it the standard way.
On Wednesday, February 1, 2023 at 8:18:50 AM UTC-7 [email protected] wrote: > Hello dear contributors, > > As explained in this "Artifact caching proxy activation" helpdesk issue > <https://github.com/jenkins-infra/helpdesk/issues/3369>, we're planning > to *activate the artifact caching proxy for all plugins*. > > The artifact caching proxy > <https://github.com/jenkins-infra/helpdesk/issues/2752> is a mechanism > we've put in place using nginx proxy in front of repo.jenkins-ci.org (our > JFrog sponsored Artifactory instance) and Maven Central to cache artifacts > download requests. > > The main goals are to decrease the consumed bandwidth (many terabytes per > month) and to increase Jenkins infrastructure reliability and resilience. > > I'm writing this mail to check if it's OK for everyone, and if there is no > major objection after a delay of 24 hours, we'll merge this PR > <https://github.com/jenkins-infra/pipeline-library/pull/577> around 14:00 > UTC on Thursday February 2 to switch this feature as opt-out for all > plugins using the buildPlugin function > <https://github.com/jenkins-infra/pipeline-library/blob/master/vars/buildPlugin.groovy?rgh-link-date=2023-02-01T09%3A53%3A32Z> > > from the shared pipeline library. > > As the caches of these ACPs are warming up, the first plugin builds might > take a little bit more time, but the following ones should be quicker. > > In case you'll need for whatever reason to disable this mechanism > (discouraged), you will have two possibilities: > > - on your pull request, add a skip-artifact-caching-proxy label > - in your Jenkinsfile, add useArtifactCachingProxy: false to the > recommanded buildPlugin configuration > > <https://github.com/jenkinsci/archetypes/blob/master/common-files/Jenkinsfile?rgh-link-date=2023-02-01T09%3A53%3A32Z>, > > ex: > > buildPlugin( useContainerAgent: true, useArtifactCachingProxy: false, // > Add this line to opt-out of this functionality and bypass the artifact > caching proxy configurations: [ [platform: 'linux', jdk: 17], > [platform: 'windows', jdk: 11], > ]) > > If you've got any questions or issues, please add them to the helpdesk > issue. > > Kind regards, > > Hervé for the Jenkins Infrastructure team > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/baa10d94-c5e0-4644-b3dc-31d105caa3f6n%40googlegroups.com.
