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

pom.xml: bump plugin-parent and bom #219

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

jimklimov
Copy link
Contributor

After recent updates and restart of the Jenkins controller, our jobs began failing with post-processing:

Error when executing always post condition:
java.lang.ClassNotFoundException: org.eclipse.collections.impl.factory.Sets
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
	at jenkins.util.URLClassLoader2.findClass(URLClassLoader2.java:35)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	at io.jenkins.plugins.reporter.steps.PublishReportStep$Descriptor.getRequiredContext(PublishReportStep.java:117)
...
Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: e97f9fd3-2730-4261-8c7f-43fe43486b35
Caused: java.lang.NoClassDefFoundError: org/eclipse/collections/impl/factory/Sets
	at io.jenkins.plugins.reporter.steps.PublishReportStep$Descriptor.getRequiredContext(PublishReportStep.java:117)
...

After some discussion on Jenkins Gitter thread : https://matrix.to/#/!ouJVNKRtaWHFflDvBW:gitter.im/$yuB2vuyrvhG7R1WfNz2GMvvWQH4Hr7dO7SIK6T4pQx8?via=gitter.im&via=matrix.org&via=minds.com I tried to use a custom build of the plugin to ensure that it relies on newer jenkins-bom (maybe its updates in core deprecated something the plugin binary relied on?) and the problem went away ;)

@simonsymhoven simonsymhoven merged commit 588fd96 into jenkinsci:master Jun 28, 2023
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.

2 participants