I’m using the notification plugin. 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 the
notification message?

Some bits and pieces I’ve found that may (or may not) help:

Looking at the plugin code 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.

Reply via email to