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

0 views
Skip to first unread message

madankapoor@outlook.in (JIRA)

unread,
Sep 4, 2019, 6:31:09 AM9/4/19
to jenkinsc...@googlegroups.com
Madan Kapoor created an issue
 
Jenkins / Improvement JENKINS-59220
Implement a method in EnvVars that extends putAll() to filter null values
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: core
Created: 2019-09-04 10:28
Environment: Jenkins 2.176.2
Labels: Core Improvement environment
Priority: Minor Minor
Reporter: Madan Kapoor

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?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

karthikprabu.cs@gmail.com (JIRA)

unread,
Sep 6, 2019, 2:40:02 AM9/6/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Sep 12, 2019, 5:20:03 AM9/12/19
to jenkinsc...@googlegroups.com
Oleg Nenashev started work on Improvement JENKINS-59220
 
Change By: Oleg Nenashev
Status: Open In Progress
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
Sep 12, 2019, 5:20:03 AM9/12/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Sep 12, 2019, 5:20:04 AM9/12/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Jan 15, 2020, 7:09:20 AM1/15/20
to jenkinsc...@googlegroups.com
Change By: Oleg Nenashev
Status: In Review Resolved
Resolution: Fixed
Released As: Jenkins 2.214
Reply all
Reply to author
Forward
0 new messages