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

Artifact caching proxy breaks third-party maven repositories #3382

Closed
NotMyFault opened this issue Feb 10, 2023 · 6 comments · Fixed by jenkinsci/stapler#441
Closed

Artifact caching proxy breaks third-party maven repositories #3382

NotMyFault opened this issue Feb 10, 2023 · 6 comments · Fixed by jenkinsci/stapler#441

Comments

@NotMyFault
Copy link
Member

Service(s)

Artifact-caching-proxy

Summary

Using the artifact caching proxy failed to get a green build on jenkinsci/stapler#439:

[2023-02-10T09:55:00.099Z] [ERROR] Failed to execute goal on project stapler: Could not resolve dependencies for project org.kohsuke.stapler:stapler:jar:1770.vc71e200f4037: Could not find artifact com.karuslabs:elementary:jar:1.1.3 in do-proxy (https://repo.do.jenkins.io/public/) -> [Help 1]
[2023-02-10T09:55:00.099Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project stapler: Could not resolve dependencies for project org.kohsuke.stapler:stapler:jar:1770.vc71e200f4037: Could not find artifact com.karuslabs:elementary:jar:1.1.3 in do-proxy (https://repo.do.jenkins.io/public/)

The full error is available here.
I have now disabled the artifact caching proxy to get a green light on the PR.

Reproduction steps

No response

@NotMyFault NotMyFault added the triage Incoming issues that need review label Feb 10, 2023
@lemeurherve
Copy link
Member

I have now disabled the artifact caching proxy to get a green light on the PR.

How did you do that? I don't see any tag on the PR

@lemeurherve
Copy link
Member

lemeurherve commented Feb 10, 2023

Nevermind, saw your commit: jenkinsci/stapler@0da3f90 (#439)

I would have liked trying rebuild the PR with skip-artifact-caching-proxy first to check 🤷

@lemeurherve
Copy link
Member

lemeurherve commented Feb 10, 2023

I'll try locally, thanks for the issue.

@lemeurherve lemeurherve self-assigned this Feb 10, 2023
@lemeurherve lemeurherve removed the triage Incoming issues that need review label Feb 10, 2023
@NotMyFault
Copy link
Member Author

Nevermind, saw your commit: jenkinsci/stapler@0da3f90 (#439)

I would have liked trying rebuild the PR with skip-artifact-caching-proxy first to check 🤷

I created jenkinsci/stapler#440

@lemeurherve
Copy link
Member

Related: #3115

@lemeurherve
Copy link
Member

lemeurherve commented Feb 10, 2023

IIUC I'll need to add an exception for this repository in the ACP settings.xml in the short term, or add it as remote repository as proposed by @basil, looking into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants