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

This issue is archived. You can view it, but you can't modify it. Learn more

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".
       

            Assignee:
            Thomas Döring
            Reporter:
            Shazron Abdullah
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: