JENKINS-73724 Remove jenkins junit plugin #146
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA Link
https://issues.jenkins.io/browse/JENKINS-73724
Description
org.jenkins-ci.plugins:junit was added as part of this commit: Respect Mask Password plugin configuration · jenkinsci/logstash-plugin@31e8971 (github.com)
But then mask-passwords is no longer used now: remove dependency to maskpasswords by mwinter69 · Pull Request #48 · jenkinsci/logstash-plugin (github.com).
So this begs the question if org.jenkins-ci.plugins:junit serves any purpose? Should this be removed instead?
Removing it will make logstash plugin more lightweight: as junit plugin requires the following dependencies as listed on this web page: JUnit Jenkins plugin:
Dependencies
Bootstrap 5 API ≥ 5.3.2-3
Checks API ≥ 2.0.2
ECharts API ≥ 5.4.0-7
Ionicons API ≥ 70.v2959a_b_74e3cf
Plugin Utilities API ≥ 3.8.0
Pipeline: API ≥ 1291.v51fd2a_625da_7
Pipeline: Step API ≥ 657.v03b_e8115821b_
Display URL API ≥ 2.200.vb_9327d658781
Jackson 2 API ≥ 2.17.0-379.v02de8ec9f64c
Script Security ≥ 1335.vf07d9ce377a_e
Testing done
I tried running mvn test locally without it, seems to work fine.
Submitter checklist