jenkinsci / badge-plugin

Jenkins Badge plugin
https://plugins.jenkins.io/badge/
MIT License
32 stars 43 forks source link

link on addErrorBadge not working #17

Closed quasarea closed 5 years ago

quasarea commented 6 years ago

Using:

    addErrorBadge (
        text: "Unit tests failed for ${project.Name}", 
        link: "${env.BUILD_URL}testReport"
    )

will not produce clickable badge,

Using workaround

    addBadge(
        icon: "error.gif",
         text: "Unit tests failed for ${project.Name}", 
        link: "${env.BUILD_URL}testReport"
    )
bakito commented 6 years ago

Hi

I could extend the behavior of the status icons. They support now links as well.

quasarea commented 6 years ago

Thanks

bakito commented 5 years ago

Released wit version 1.7