diff --git a/pom.xml b/pom.xml index 246da4a145..2360ebfcee 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ org.jenkins-ci.plugins plugin - 3.0 + 3.12 org.csanchez.jenkins.plugins @@ -44,7 +44,7 @@ 8 - 2.32.1 + 2.107.3 3.2.0 @@ -249,7 +249,7 @@ org.apache.sshd sshd-core - 1.6.0 + 1.7.0 diff --git a/src/main/java/org/csanchez/jenkins/plugins/kubernetes/volumes/EmptyDirVolume.java b/src/main/java/org/csanchez/jenkins/plugins/kubernetes/volumes/EmptyDirVolume.java index ed9f484fe7..4f1297c4a7 100644 --- a/src/main/java/org/csanchez/jenkins/plugins/kubernetes/volumes/EmptyDirVolume.java +++ b/src/main/java/org/csanchez/jenkins/plugins/kubernetes/volumes/EmptyDirVolume.java @@ -69,6 +69,11 @@ public Volume buildVolume(String volumeName) { return new VolumeBuilder().withName(volumeName).withNewEmptyDir().withMedium(getMedium()).endEmptyDir().build(); } + @Override + public String toString() { + return "EmptyDirVolume [mountPath=" + mountPath + ", memory=" + memory + "]"; + } + @Extension @Symbol("emptyDirVolume") public static class DescriptorImpl extends Descriptor { diff --git a/src/main/java/org/csanchez/jenkins/plugins/kubernetes/volumes/SecretVolume.java b/src/main/java/org/csanchez/jenkins/plugins/kubernetes/volumes/SecretVolume.java index 6a9a9ea227..1e7467f586 100644 --- a/src/main/java/org/csanchez/jenkins/plugins/kubernetes/volumes/SecretVolume.java +++ b/src/main/java/org/csanchez/jenkins/plugins/kubernetes/volumes/SecretVolume.java @@ -60,6 +60,11 @@ public String getMountPath() { return mountPath; } + @Override + public String toString() { + return "SecretVolume [mountPath=" + mountPath + ", secretName=" + secretName + "]"; + } + @Extension @Symbol("secretVolume") public static class DescriptorImpl extends Descriptor {