Skip to content
Merged
13 changes: 9 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@
<changelist>-SNAPSHOT</changelist>

<!-- jenkins versions -->
<jenkins.version>2.387.3</jenkins.version>
<bom.artifactId>bom-2.387.x</bom.artifactId>
<bom.version>2329.v078520e55c19</bom.version>
<jenkins.version>2.401.1</jenkins.version>
<bom.artifactId>bom-2.401.x</bom.artifactId>
<bom.version>2244.vd60654536b_96</bom.version>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When initially bumping kubernetes-client-api, it needed a dependency on snakeyaml-api 2.0 and Jenkins needed to be at least 2.361.4 or higher.


<!-- dependency versions -->
<authentication-tokens.version>1.53.v1c90fd9191a_b_</authentication-tokens.version>
<docker-commons.version>439.va_3cb_0a_6a_fb_29</docker-commons.version>
<google-oauth-plugin.version>1.0.9</google-oauth-plugin.version>
<kubernetes-client-api.version>6.4.1-215.v2ed17097a_8e9</kubernetes-client-api.version>
<kubernetes-client-api.version>6.8.1-224.vd388fca_4db_3b_</kubernetes-client-api.version>

<!-- maven plugins versions -->
<maven-coveralls.version>4.3.0</maven-coveralls.version>
Expand Down Expand Up @@ -127,6 +127,11 @@
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>okhttp-api</artifactId>
<version>4.11.0-157.v6852a_a_fa_ec11</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public io.fabric8.kubernetes.api.model.ConfigBuilder buildConfigBuilder(Kubernet
try {
io.fabric8.kubernetes.api.model.Config kubeConfig = KubeConfigUtils.parseConfigFromString(getKubeconfig());
return new io.fabric8.kubernetes.api.model.ConfigBuilder(kubeConfig);
} catch (IOException e) {
} catch (Exception e) {
throw new KubernetesAuthException(e.getMessage(), e);
}
}
Expand Down
10 changes: 10 additions & 0 deletions src/spotbugs/excludesFilter.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter
xmlns="https://github.com/spotbugs/filter/3.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/4.7.3/spotbugs/etc/findbugsfilter.xsd">
<Match>
<!-- False positive, https://github.com/spotbugs/spotbugs/issues/1219 -->
<Bug pattern="BC_UNCONFIRMED_CAST_OF_RETURN_VALUE" />
</Match>
</FindBugsFilter>