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

Use Jenkins project mirrors / caches #963

Closed
timja opened this issue Oct 3, 2022 · 2 comments · Fixed by #1279
Closed

Use Jenkins project mirrors / caches #963

timja opened this issue Oct 3, 2022 · 2 comments · Fixed by #1279
Assignees

Comments

@timja
Copy link
Member

timja commented Oct 3, 2022

What feature do you want to see added?

Ideally we should utilise maven caches if available (without forcing people to use them who use the framework)

This build failed:
https://ci.jenkins.io/blue/organizations/jenkins/Core%2Facceptance-test-harness/detail/master/601/pipeline/

Because of:

[2022-10-02T22:45:56.251Z] [ERROR] Error executing Maven.
[2022-10-02T22:45:56.251Z] [ERROR] Extension io.jenkins.tools.incrementals:git-changelist-maven-extension:1.4 or one of its dependencies could not be resolved: Could not transfer artifact org.apache.maven.resolver:maven-resolver-util:jar:1.0.3 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/apache/maven/resolver/maven-resolver-util/1.0.3/maven-resolver-util-1.0.3.jar
[2022-10-02T22:45:56.251Z] [ERROR] Caused by: Could not transfer artifact org.apache.maven.resolver:maven-resolver-util:jar:1.0.3 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/apache/maven/resolver/maven-resolver-util/1.0.3/maven-resolver-util-1.0.3.jar
[2022-10-02T22:45:56.251Z] [ERROR] Caused by: Could not transfer artifact org.apache.maven.resolver:maven-resolver-util:jar:1.0.3 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/apache/maven/resolver/maven-resolver-util/1.0.3/maven-resolver-util-1.0.3.jar
[2022-10-02T22:45:56.251Z] [ERROR] Caused by: transfer failed for https://repo.maven.apache.org/maven2/org/apache/maven/resolver/maven-resolver-util/1.0.3/maven-resolver-util-1.0.3.jar
[2022-10-02T22:45:56.251Z] [ERROR] Caused by: Connect to repo.maven.apache.org:443 [repo.maven.apache.org/146.75.32.215] failed: Connection timed out (Connection timed out)
[2022-10-02T22:45:56.251Z] [ERROR] Caused by: Connection timed out (Connection timed out)

Upstream changes

No response

@lemeurherve
Copy link
Member

lemeurherve commented Feb 21, 2023

Commenting as I can't assign myself on this issue, I'll update the pipeline to use the artifact caching proxy.

Ref for internal GitHub linking: jenkins-infra/helpdesk#2752

@basil
Copy link
Member

basil commented Apr 5, 2023

Contra jenkins-infra/helpdesk#3481 (comment) this ticket remains open, but much preparatory work has been done. The only remaining work is to wrap the mvn and run.sh invocations in the Jenkinsfile with infra.withArtifactCachingProxy, but when I tried to do that in #1097 the builds became unstable due to jenkins-infra/helpdesk#3481, so I left that change to the assignee of this ticket.

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.

3 participants