[JIRA] (JENKINS-60551) KubernetesCloud copy constructor is not copying all field

10 views
Skip to first unread message

aburdajewicz@cloudbees.com (JIRA)

unread,
Dec 19, 2019, 11:30:03 PM12/19/19
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ created an issue
 
Jenkins / Bug JENKINS-60551
KubernetesCloud copy constructor is not copying all field
Issue Type: Bug Bug
Assignee: Unassigned
Components: kubernetes-plugin
Created: 2019-12-20 04:29
Environment: kubernetes:1.22.2
Priority: Major Major
Reporter: Allan BURDAJEWICZ

The Kubernetes Cloud copy constructor is not copying all fields (for example serverCertificate, capOnlyOnAlivePods, readTimeout).

This can have undesirable effect when relying on this API (for example default value of the readTimeout is 0 and not the jelly default 15)

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

aburdajewicz@cloudbees.com (JIRA)

unread,
Dec 19, 2019, 11:32:03 PM12/19/19
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ updated an issue
Change By: Allan BURDAJEWICZ
The [Kubernetes Cloud copy constructor|https://github.com/jenkinsci/kubernetes-plugin/blob/kubernetes-1.22.2/src/main/java/org/csanchez/jenkins/plugins/kubernetes/KubernetesCloud.java#L142-L170] is not copying all fields (for example {{serverCertificate}}, {{ capOnlyOnAlivePods}}, {{ readTimeout}}).

This can have undesirable effect when relying on this API (for example default value of the {{readTimeout}} is {{0}} and not the jelly default {{15}})

aburdajewicz@cloudbees.com (JIRA)

unread,
Dec 20, 2019, 12:02:02 AM12/20/19
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ started work on Bug JENKINS-60551
 
Change By: Allan BURDAJEWICZ
Status: Open In Progress

aburdajewicz@cloudbees.com (JIRA)

unread,
Dec 20, 2019, 1:13:02 AM12/20/19
to jenkinsc...@googlegroups.com

aburdajewicz@cloudbees.com (JIRA)

unread,
Dec 20, 2019, 1:13:02 AM12/20/19
to jenkinsc...@googlegroups.com

jglick@cloudbees.com (JIRA)

unread,
Dec 20, 2019, 11:28:02 AM12/20/19
to jenkinsc...@googlegroups.com
Change By: Jesse Glick
Status: In Review Resolved
Assignee: Allan BURDAJEWICZ Vincent Latombe
Resolution: Fixed
Released As: 1.21.5 1.22.3
Reply all
Reply to author
Forward
0 new messages