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

How to insert ENV variable into the field "Branch name" #81

Open andreyshade opened 1 year ago

andreyshade commented 1 year ago

Describe your use-case which is not covered by existing documentation.

I would like to show current branch name in my notifications messages
image But it's not worked properly image

It it any clue how to do this?

Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.

No response

sicklydove commented 1 year ago

I am also struggling with this - is it possible, and has anyone found a solution? I'd rather not move to a pipeline build, but if there's no other choice - I can do.