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

Plugin build pipeline stopped working #3737

Closed
eduard-tita opened this issue Aug 29, 2023 · 5 comments
Closed

Plugin build pipeline stopped working #3737

eduard-tita opened this issue Aug 29, 2023 · 5 comments

Comments

@eduard-tita
Copy link

Service(s)

ci.jenkins.io

Summary

We just noticed that the nexus-platform-plugin build pipeline stopped working recently.

For instance, the https://ci.jenkins.io/job/Plugins/job/nexus-platform-plugin/job/PR-268/1/ build fails due to:

14:15:00  [ERROR]     Unresolveable build extension: Plugin org.jenkins-ci.tools:maven-hpi-plugin:3.32 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.jenkins-ci.tools:maven-hpi-plugin:jar:3.32 (absent): Could not find artifact org.jenkins-ci.tools:maven-hpi-plugin:jar:3.32 in aws-proxy-incrementals (https://repo.aws.jenkins.io/incrementals/) -> [Help 2]

Nothing material has changed in the plugin code since the last successful build, which was on August 1 and relied on the same plugin and version as the one mentioned in the error message above (i.e. org.jenkins-ci.tools:maven-hpi-plugin:jar:3.32).

This issue blocks us from releasing new versions of the plugin.

Reproduction steps

See: https://ci.jenkins.io/job/Plugins/job/nexus-platform-plugin/job/PR-268/1/

@eduard-tita eduard-tita added the triage Incoming issues that need review label Aug 29, 2023
@dduportal dduportal added this to the infra-team-sync-2023-09-05 milestone Aug 30, 2023
@dduportal dduportal self-assigned this Aug 30, 2023
@dduportal dduportal removed the triage Incoming issues that need review label Aug 30, 2023
@dduportal
Copy link
Contributor

I was able to reproduce the issue on a local build while using the settings.xml as ci.jenkins.io (and the proper SSH tunnel that I can use as an administrator).

Analysis in progress...

@dduportal
Copy link
Contributor

This problem is related to the operations around Artifactory (ref. #3599).

cc @MarkEWaite it looks like this error is the one that blocks us from fully removing the Maven Central repository mirror from repo.jenkins-ci.org.

I was able to fix the error by adding an explicit pluginRepository pointing to https://repo.jenkins-ci.org/public + also setting the default repository to https://repo.jenkins-ci.org/public/ . The draft PR jenkinsci/nexus-platform-plugin#276 is an attempt to verify is the error is gone on ci.jenkins.io (e.g. in production, not on my laptop).

Continuing analysis...

@dduportal
Copy link
Contributor

For info, I might have a solution in #3599 (comment)

@eduard-tita on short time, you can merge my PR (or do your own with the same code, I don't mind) to fix your build problem (ref. jenkinsci/nexus-platform-plugin#276)

@eduard-tita
Copy link
Author

eduard-tita commented Aug 30, 2023

Thank you, @dduportal. I applied your changes and I got a green build again. You can close the draft PR.

@dduportal
Copy link
Contributor

For info, we caused this jenkinsci/maven-hpi-plugin#529 (comment)

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

No branches or pull requests

2 participants