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

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


    • Jenkins 2.214

      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?

            karthikprabu_13 Karthick Prabu Ponnusamy
            mkapoor Madan Kapoor
            0 Vote for this issue
            2 Start watching this issue