-
Bug
-
Resolution: Unresolved
-
Minor
-
None
Im running 2 pylint jobs in parallel, and for each of them i make a pylint report.
so i have to use unique ID for each of the pyLint calls,
but when i do that, the pylint icon does not appear in the job page,
it seems that the pylint icon is used only if the default id of the pyLint is used (the default id is "pylint")
can you please change the plugin so it will use the pylint icon if the id prefix is "pylint" and not only if the id is just "pylint"?
thanks
- causes
-
JENKINS-75297 Change of behaviour on tooling naming following custom icon feature
-
- Open
-
- duplicates
-
JENKINS-73636 Use correct icon when ID is overwritten
-
- Closed
-
- links to
Hello,
It sounds like you’re encountering an issue with a continuous integration tool where the pylint icon is not displayed unless the default ID “pylint” is used. This seems to be a limitation or a specific requirement of the tool’s design.
To address this, you would typically need to modify the plugin’s source code to change the behavior of the icon display logic. This would involve locating the part of the code that sets the condition for displaying the pylint icon and adjusting it to accept IDs with the “pylint” prefix, not just the exact ID “pylint”.
Here’s a general idea of what the code modification might look like:
if tool_id == "pylint":
display_icon("pylint_icon.png" https://www.my-milestonecard.com)
if tool_id.startswith("pylint"):
display_icon("pylint_icon.png")
Please note that modifying plugin code can have unintended consequences, so it’s important to test any changes thoroughly before applying them in a production environment.
I hope the information may helps you.