Coverage Badge with Jenkins Logs


I am trying to implement Badges in my projects. However, our whole CI/CD pipeline is running on Jenkins. We have a Gitlab/Jenkins integration, which shows us statuses of pipelines and when clicked, redirects us to Jenkins logs.

However, these logs are not visible for Gitlab when it comes to badges. I have tried to implement Code Coverage Badge for Python, but the status remains unknown. How can I enable Gitlab to see the Jenkins logs, so that it can retrieve coverage percentage out of them?

Thanks and BR,
Adam Mrozik