Badge not appearing in readme with Jenkins Embeddable Build Status Plugin

Summary

Unable to render Jenkins Embeddable Build Status Plugin badge in gitlab README files. Images shows as broken. Inspecting it tells me lazy loader encountered 504 trying to render image.

The badge works fine when used with gitlab badges features from settings and with github README as well.

Steps to reproduce

  1. Install Jenkins Embeddable Build Status Plugin in jenkins
  2. Setup a Jenkins project and get badge image url (in markdown format)
  3. Create a README.md in your project, add the badge markdown format link
  4. Broken image instead of badge will appear

Example Project

Gitlab project link: https://gitlab.com/ashutosh.myoperator/embeddable-build-status-example.git

Github project link: https://github.com/codeasashu/transport

What is the current bug behavior?

The badge fails (with HTTP code 504) to render in README.md

What is the expected correct behavior?

The badge should appear in README.md

Output of checks

This bug happens on GitLab.com

Edited by Ashutosh Chaudhary