-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
[JENKINS-75350] Displays plugin health score in Plugin Manager #10351
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
Merged
timja
merged 44 commits into
jenkinsci:master
from
alecharp:feat/display-plugin-health-score-in-plugin-manager
Apr 30, 2025
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
47ec730
feat: Displays plugin healthScore for available plugins
alecharp f8842f9
Does not remove all score when one is missing
alecharp ec6d676
Adds health score column header
alecharp a0a62bf
Displays health score on plugin manage updates page
alecharp 7dac82d
Displays scores on installed plugins
alecharp 3370920
Fixes available update testing health score presence
alecharp ca01c75
Provides link to plugin health score from update tab
alecharp a2a04af
Creates score badge
alecharp c510645
Changes score badge color based on value for updates and installed
alecharp 21b6bbd
Simplify health score css class selection
alecharp 40b47ee
Computes health score css class in java code
alecharp 6220b73
Fixes installed plugin score gathering
alecharp 1831672
Reduces code duplication and coupling
alecharp e8ec45d
Reduces class name duplication
alecharp 461be6f
Stops using deprecated SCSS variables
alecharp 1112615
Moves health score column before enabling plugin
alecharp c5b03b6
Fixes java code formatting
alecharp 7ecd37e
Fixes URL used to get to plugin health score report
alecharp d8398e2
:construction: Uses icons from plugins without scores in updates and …
alecharp ca19cea
Inline status-aborted symbol in available template
alecharp 19aba65
Merge branch 'master' into feat/display-plugin-health-score-in-plugin…
alecharp 85b2dde
Fixes health score scss syntax
alecharp ac4eaed
Reverts invalid removal from 111261546b8a891492237fbfbe34af2d1c0b38b3
alecharp 9a13ad2
Restores installed downgradable cell
alecharp 5a487e0
Enabled input was moved to the right
alecharp 920efd4
Adds french translation for health score table headers
alecharp 6c4204f
Merge branch 'master' into feat/display-plugin-health-score-in-plugin…
alecharp acbb0f6
Makes 'not applicable' icon less eye catching
alecharp 07d1a08
Merge branch 'master' into feat/display-plugin-health-score-in-plugin…
alecharp 8575976
Merge branch 'master' into feat/display-plugin-health-score-in-plugin…
alecharp 1c4ac23
Only show health column if any plugin has it
daniel-beck 31d4bbe
No needs for the administer permission check
alecharp 3ac4013
Changes health key in update-center
alecharp 118e263
Improves tooltip when no score available
alecharp c693c4f
CSS class for health score doesn't require Java naming trick
alecharp 5b328e4
Shouldn't allow usage of health score class method
alecharp e10a3bb
Adds link to documentation on headers
alecharp d4402fb
Changes health header description and uses tooltip
alecharp 2b40dde
Explains health score within tooltip
alecharp 4ad31ee
Revert cell count when no score is available
alecharp f070756
Do not expose health to API
alecharp 6f2d8e9
Correctly count cells based on health availability
alecharp ea7d6ec
Merge branch 'master' into feat/display-plugin-health-score-in-plugin…
alecharp c1b63c3
Merge branch 'master' into feat/display-plugin-health-score-in-plugin…
alecharp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
core/src/main/resources/hudson/PluginManager/available.properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| healthTooltip=\ | ||
| A score evaluating the health of a plugin, using metrics such as actively maintained, recommended repository configuration applied and documentation provided. \ | ||
| <a href="https://jenkins.io/redirect/plugin-health-score" target="_blank">Learn more</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,3 +26,4 @@ Install\ after\ restart=Installer après le redémarrage | |
| Install=Installer | ||
| Name=Nom | ||
| Released=Publié | ||
| Health=Santé | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| .jenkins-healthScore { | ||
| &--badge { | ||
| --healthscore-badge-border-width: 4px; | ||
| --healthscore-badge-size: 32px; | ||
|
|
||
| width: var(--healthscore-badge-size); | ||
| height: var(--healthscore-badge-size); | ||
| border-radius: 50%; | ||
| border-width: var(--badge-border-width); | ||
| border-style: solid; | ||
| border-color: var(--accent-color); | ||
| display: table-cell; | ||
| vertical-align: middle; | ||
| text-align: center; | ||
| background-color: var(--background); | ||
|
|
||
| &:hover { | ||
| background-color: var(--light-grey); | ||
| } | ||
| } | ||
|
|
||
| &--top { | ||
| border-color: var(--success-color); | ||
| } | ||
|
|
||
| &--middle { | ||
| border-color: var(--warning-color); | ||
| } | ||
|
|
||
| &--bottom { | ||
| border-color: var(--destructive-color); | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.