Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(buildPlugin): switch artifact caching proxy to opt-out #577

Conversation

lemeurherve
Copy link
Member

@lemeurherve lemeurherve commented Feb 1, 2023

When this PR will be merged, every plugin using buildPlugin will use one of the artifact caching proxy providers instead of repo.jenkins-ci.org and Maven Central to download its Maven artifacts.

Successfully tested in jenkinsci/jenkins-infra-test-plugin#62

Close jenkins-infra/helpdesk#2752

Ref: jenkins-infra/helpdesk#3369

@@ -338,11 +338,27 @@ class BuildPluginStepTests extends BaseTest {
}

@Test
void test_buildPlugin_with_artifact_caching_proxy_enabled_and_empty_provider_specified() throws Exception {
void test_buildPlugin_with_artifact_caching_proxy_disabled() throws Exception {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional case to test when useArtifactCachingProxy is set to false

@dduportal
Copy link
Contributor

dduportal commented Feb 2, 2023

End to end test of this PR: jenkinsci/jenkins-infra-test-plugin#63 as a safety net.

(edit) success \o/ Ready to go!

Copy link
Contributor

@dduportal dduportal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This PR is mergeable once the announced date / time of this change is reached

@lemeurherve lemeurherve merged commit 620abfe into jenkins-infra:master Feb 2, 2023
@lemeurherve lemeurherve deleted the helpdesk2752-switch-artifact-caching-proxy-to-opt-out branch February 2, 2023 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(Re) Introduce an artifact caching proxy for ci.jenkins.io
3 participants