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

Reverting commits which might cause startup issues on non docker instances #650

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

Waschndolos
Copy link

Fixes #647

waschndolos added 2 commits March 28, 2024 18:43
…plicit guice usage to avoid duplicate instantiation of DefaultPrometheusMetrics class. (#644)"

This reverts commit 9401c6e.
@Waschndolos Waschndolos merged commit fb5b95c into master Mar 29, 2024
27 checks passed
@@ -0,0 +1,16 @@
package org.jenkinsci.plugins.prometheus.context;

import com.google.inject.AbstractModule;
Copy link
Member

Choose a reason for hiding this comment

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

Explicit use of Guice in Jenkins plugins is almost always a bad idea. Whatever the issue was here (reproducible?), this was probably not the right way to solve it.

Copy link
Author

Choose a reason for hiding this comment

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

this pr is quite old, this class no longer exists in current versions

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

Successfully merging this pull request may close these issues.

Prometheus Plugin Update prevents Jenkins from startup
2 participants