jenkinsci / discord-notifier-plugin

A post-build plugin that sends the build status to a Discord channel.
https://plugins.jenkins.io/discord-notifier/
MIT License
50 stars 25 forks source link

Faulty Job Name processing #4

Closed Dherlou closed 5 years ago

Dherlou commented 5 years ago

Hi there,

I recently discovered your awesome Jenkins plugin. Good work!

However, it seems to have a bug regarding the job name processing. Job names may contain parenthesis, but your plugins seems to cannot handle it correctly.

One of my jobs is titled "ELMRSG - Development (luckev.info) - Deployment". "luckev.info" is surrounded by parenthesis, so the following bug occurs: bug

So basically the link is broken, as the linked build number and build state refer to "https://www.luckev.info/jenkins/job/ELMRSG%20-%20Development%20(luckev.info" and the ")" disappears and the remaining characters behind ")" are simply displayed behind the actual link.

I'd be great, if you could fix this issue. Sincerely, Pad