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
package old JNA version 3.3.0 with the plugin #10
Conversation
@@ -3,7 +3,7 @@ | |||
<parent> | |||
<groupId>org.jenkins-ci.plugins</groupId> | |||
<artifactId>plugin</artifactId> | |||
<version>1.557</version> | |||
<version>1.586</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really necessary? This will prevent use of the plugin in current LTS (1.580.x) releases.
See https://wiki.jenkins-ci.org/display/JENKINS/Choosing+Jenkins+version+to+build+against for more pros/cons.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok repeated test with 1.580 - works too, so i'll update that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not everybody uses latest LTS, downgrade to 1.565.3 at least.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KostyaSha would you expect this to be tested solely on 1.565.3 or on all versions inbetween ? Note that this patch only fixes an incompatibility with jenkins introduced in 1.586. There is no added functionality, so what would be the point supporting even older versions than current LTS ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Future plugin development will would available to recent versions unless a backwards-compatible branch is maintained with extra effort (like Subversion plugin's 2.4.x
branch while 2.5 aims at Jenkins 1.577 or so)
Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests |
package old JNA version 3.3.0 with the plugin
This is a bad change. JNA 3.3 had bugs which broke certain platforms. |
hi @rodrigc as long as this dependency is not compatible with jna 4.1 i will not invest in upgrading feel free to send a PR though |
I don't understand, you are not interested in actually fixing the plugin, but |
this plugin has been requiring 3.3 since before jenkins packaged a newer version with release 1.586, which broke this plugin. so to keep this plugin running on platforms that were working before it now packages its own jna. i don't see which existing installations would break because of this. |
Look at this bug: https://issues.jenkins-ci.org/browse/JENKINS-24521 Your patch may have solved your local problem, but is moving things backwards. |
well it keeps the thing running until the used library is fit for 4.1.0. Don't get me wrong, I agree it would be much nicer to not use this hackish pluginFirstClassLoader, but it doesn't work. yet. |
This plugin currently does not work at all in recent Jenkins versions. Making it work again on most platforms, i.e. restoring the functionality that was there when used with older Jenkins versions, is a step forward. |
fixes #JENKINS-12523
https://issues.jenkins-ci.org/browse/JENKINS-12523
needs removable of slf4j references