Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66755

Separator auto-generated names conflict with safeParameters

XMLWordPrintable

      Our master's logs are getting bombarded with messages likethis: 

      2021-09-29 08:49:12.006+0000 [id=99725] WARNING hudson.model.ParametersAction#filter: Skipped parameter `separator-b6b8ec34-7223-404e-9431-eefbfc1173a5` as it is undefined on `build/custom/lnvr/diff`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters=true` to 
      allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach or `-Dhudson.model.ParametersAction.keepUndefinedParameters=false` to no longer show this message.
      2021-09-29 08:49:12.006+0000 [id=99725] WARNING hudson.model.ParametersAction#filter: Skipped parameter `separator-c6e45775-52a3-407e-ad5e-e5413de04e59` as it is undefined on `build/custom/lnvr/diff`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters=true` to 
      allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach or `-Dhudson.model.ParametersAction.keepUndefinedParameters=false` to no longer show this message.
      

      The plugin names its "parameters" for separating lines automatically via GUIDs and apparently they are not part of the build "configuration", which causes Jenkins to explode with warnings. We could of course resolve this by changing "keepUndefinedParameters" value, but I think the warning in itself is rather useful - if only I could filter out all the separator flood  

            Unassigned Unassigned
            artalus Artalus S.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: