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?

          [JENKINS-59220] Implement a method in EnvVars that extends putAll() to filter null values

          Madan Kapoor created issue -
          Karthick Prabu Ponnusamy made changes -
          Assignee New: Karthick Prabu Ponnusamy [ karthikprabu_13 ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Oleg Nenashev made changes -
          Released As New: Jenkins 2.214
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: