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

Implement a method in EnvVars that extends putAll() to filter null values

    Details

    • Similar Issues:
    • Released As:
      Jenkins 2.214

      Description

      In our Jenkins environment, we are using a custom Jenkins plugin that makes use of the Environment Contributing Action to extend additional functionalities to storing and retrieving EnvVars.

      Doing so, we have noticed that the EnvVars class, does not have a method for putAll to filter the null values, similar to putIfNotNull, that can take entire maps as inputs.

      This is crucial to the implementation of our build functionality. Could a new method be added to the EnvVars class that includes this?

        Attachments

          Activity

          Show
          oleg_nenashev Oleg Nenashev added a comment - https://github.com/jenkinsci/jenkins/pull/4194  

            People

            • Assignee:
              karthikprabu_13 Karthick Prabu Ponnusamy
              Reporter:
              mkapoor Madan Kapoor
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: