Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48874

Markdown build badge does not show for a job with spaces in it

XMLWordPrintable

    • v2.0-beta1

      Description:
      If I have a job called "My Cool Job", and I go to the Embeddable Build Status Plugin, and choose any Markdown build status, and paste it in a Markdown file (say README.md), it won't show the build badge.

      Expected:
      The markdown code for the build status badge shows the badge for the job which has spaces in its name.

      Actual:
      The markdown code for the build status badge does not show the badge for the job which has spaces in its name.

      Example:
      For a job called "My Cool Job" and branch "master" this is the Markdown generated:
      [![Build Status](https://myserver.com/buildStatus/icon?job=My Cool Job/master)](https://myserver.com/job/My Cool Job/job/master/)

      Note that the spaces in "My Cool Job" are not URL encoded. The spaces should be replaced with "%20".
       

            thomas_dee Thomas Döring
            shazron Shazron Abdullah
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: