Details
-
Type:
Task
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: gitlab-branch-source-plugin
-
Labels:None
-
Environment:Plugin version 1.2.0
-
Similar Issues:
Description
I think it's great that this plugin uses the same project icons as configured in Gitlab, but I think you shouldn't directly link to the image hosted by Gitlab.
Not every Jenkins user has access to our Gitlab server. And even if they have, they may not be logged in into Gitlab. Because of this, Jenkins just shows a broken image instead the project icon.
If possible, I think these project icons should be copied into Jenkins and be served by Jenkens to the users.
Thanks Christian Ciach for reporting this bug. We have a condition in place which checks if avatar url is blank or not. This means the gitlab api fetches the avatar url but perhaps the url is invalid or inaccessible. So a check to ping the url will work? Otherwise I think we can add it as a trait where you can disable displaying avatar all together.