Variable substitution in custom plugin not working

8 views
Skip to first unread message

Ish Abbi

unread,
Mar 10, 2022, 10:19:59 AM3/10/22
to Jenkins Users
Hi everyone,

For custom build plugins in Jenkins, do we have the option to use variable substitutions?
I recently extended a Jenkins plugin to allow sending slack notifications as well.

I'm trying to send the string parameter's value as the value to the plugin's parameter. In some cases I'm always ending with the "${slackChannel}" being passed as a value instead of the variable substitution.

Any ideas or pointers of what could I be doing wrong here?

Thanks,
Ish
Reply all
Reply to author
Forward
0 new messages