jenkinsci / lucene-search-plugin

Jenkins plugin for searching job data via Lucene or Solr
https://plugins.jenkins.io/lucene-search
MIT License
5 stars 13 forks source link

Support Java 11 and newer Jenkins versions #61

Closed tdraebing closed 1 year ago

tdraebing commented 1 year ago

Lucene search did not support new Jenkins versions, since the Lucene version did not support Java 11.

This change update Lucene to 8.11.2, thereby supporting Java 11. It also bumps the Jenkins version to 2.361.4.

BREAKING CHANGE: Existing users will have to delete the existing index and rebuild it, since the update from Lucene 3 to 8 does not provide an upgrade path.

This change also removed the solr-dependency. Since Solr did not support Jetty 10 (will be added with the next release), it would not be supported by newer Jenkins version. Solr-support was anyway not included in the existing releases.

tdraebing commented 1 year ago

@NotMyFault @hmarkc Do you have any idea why the Jenkins Ci still uses Java 8 and not Java 11 to build this PR?

NotMyFault commented 1 year ago

NotMyFault hmarkc Do you have any idea why the Jenkins Ci still uses Java 8 and not Java 11 to build this PR?

ci.jenkins.io does not accept Jenkinsfile modifications from contributors, who aren't repository admins, for security reasons. Therefore, your PR will use the Jenkinsfile revision located in the repository, over the changes proposed.

tdraebing commented 1 year ago

Thanks for the explanation! @hmarkc Could you do the Jenkinsfile change, if you agree with this PR here?

MarkEWaite commented 1 year ago

I used my ci.jenkins.io admin privileges to run the Jenkinsfile included in this PR. Works great. Thanks for adopting the plugin!