-
Bug
-
Resolution: Fixed
-
Major
-
embeddable-build-status-plugin 1.9
jenkins 2.73.2
-
-
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".