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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • 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?

            Assignee:
            Karthick Prabu Ponnusamy
            Reporter:
            Madan Kapoor
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: