Anyone have any insights on getting parameters to work with the notification plugin?
On Apr 25, 12:18 pm, giuliano <gcarl...@baynote.com> wrote: > I’m using thenotificationplugin. Mostly works great. Except that I’m > getting no job parameters. And my job does have parameters. Any > thoughts on why not and what I can do to get them sent in > thenotificationmessage? > > Some bits and pieces I’ve found that may (or may not) help: > > Looking at theplugincode I see: > for (ParameterValue value : paramsAction.getParameters()) > if (!value.isSensitive()) > value.buildEnvVars(build, env); > buildState.setParameters(env); > So I must assume that either 1) my jobs parameters are not returned by > paramsAction.getParameters or 2) the ParameterValue are “Sensitive”. > 1) I have no idea why my parameters would not be returned by > getParameters. They are normal everyday job parameters. 2) Looking at > the jenkins source “sensitive” means things like passwords. My > parameters are things like mercurial revision number and branch, > StringParamaterValues, so they should not be sensitive. > > Any help would be appreciated.