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

WARNING hudson.model.ParametersAction#filter: Skipped parameter `STATUS` as it is undefined

XMLWordPrintable

      We have installed https://plugins.jenkins.io/prometheus/ plugin and then every 2 minutes (the polling time we get warning messages such as:

      jenkins    | 2021-06-29 07:37:08.611+0000 [id=85808]    WARNING hudson.model.ParametersAction#filter: Skipped parameter `TRIGGER_ANOTHER` as it is undefined on `zus/zus-multibranch/master`. 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.
      jenkins    | 2021-06-29 07:37:08.611+0000 [id=85808]    WARNING hudson.model.ParametersAction#filter: Skipped parameter `DELETE` as it is undefined on `zus/zus-multibranch/master`. 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.
      jenkins    | 2021-06-29 07:37:08.611+0000 [id=85808]    WARNING hudson.model.ParametersAction#filter: Skipped parameter `SOME_PROJECT` as it is undefined on `zus/zus-multibranch/master`. 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.
      jenkins    | 2021-06-29 07:37:08.611+0000 [id=85808]    WARNING hudson.model.ParametersAction#filter: Skipped parameter `SOME_NUMBER` as it is undefined on `zus/zus-multibranch/master`. 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.
      jenkins    | 2021-06-29 07:37:08.611+0000 [id=85808]    WARNING hudson.model.ParametersAction#filter: Skipped parameter `SOME_ID` as it is undefined on `zus/zus-multibranch/master`. 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.
      

      We use almost exclusively parameterized pipelines.

      The names of the parameters and names of the pipelines vary, sometimes only one parameter on one pipeline is reported every 2 minutes.

      The names of the parameters skipped as well as the pipelines

      Prometheus

      Path pmetrics
      Default Namespace <empty>
      Enable authentication for prometheus end-point off
      Collecting metrics period in seconds 120
      Count duration of successful builds on
      Count duration of unstable builds on
      Count duration of failed builds on
      Count duration of not-built builds on
      Count duration of aborted builds on
      Fetch the test results of builds on
      Add build parameter label to metrics on
      Add build status label to metrics on
      Process disabled jobs off
      Job attribute name jenkins_job
      Build parameters that will be added as separate labels to metrics SOME_SYSTEM,SOME_OTHER_SYSTEM
      Collect disk usage on

      Turning the Add build parameter label to metrics option off and clearing the Build parameters that will be added as separate labels to metrics seems to quell the warning

            waschndolos Manuel Josch
            saper Marcin Cieślak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: