Skip to content

Commit

Permalink
Merge pull request #22 from Vlatombe/jenkins-2.235-compat
Browse files Browse the repository at this point in the history
Compatibility with Jenkins 2.235
  • Loading branch information
maxlaverse committed Jun 10, 2020
2 parents f64e56d + 7f27dad commit c617702
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 25 deletions.
30 changes: 6 additions & 24 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>3.20</version>
<version>4.2</version>
</parent>

<groupId>org.jenkinsci.plugins</groupId>
Expand Down Expand Up @@ -41,30 +41,24 @@
<java.level>8</java.level>

<!-- dependency versions -->
<jenkins.version>2.176.1</jenkins.version>

<slf4j.version>1.7.26</slf4j.version>

<!-- jenkins plugins versions -->
<jenkins-structs.version>1.19</jenkins-structs.version>
<jenkins.version>2.204.6</jenkins.version>

<!-- maven plugins versions -->
<maven-coveralls.version>4.3.0</maven-coveralls.version>
<maven-jacoco.version>0.8.1</maven-jacoco.version>
<kubernetes-client.version>4.3.0</kubernetes-client.version>

</properties>

<dependencies>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>kubernetes-client-api</artifactId>
<version>1.0.0</version>
<version>4.9.2-2</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>jackson2-api</artifactId>
<version>2.9.9</version>
<version>2.11.0</version>
</dependency>

<dependency>
Expand All @@ -73,13 +67,6 @@
<version>4.5.5-3.0</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
<scope>provided</scope>
</dependency>

<!-- required plugins -->
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
Expand Down Expand Up @@ -113,16 +100,11 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom</artifactId>
<version>2.176.2</version>
<artifactId>bom-2.204.x</artifactId>
<version>9</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public static HttpClientBuilder getBuilder(URI uri, String caCertData, boolean s
} else if (caCertData != null) {
builder.setSSLSocketFactory(getVerifyCertSSLFactory(uri.getHost(), caCertData));
}
} catch (CertificateException | NoSuchAlgorithmException | KeyStoreException | KeyManagementException | IOException e) {
} catch (CertificateException | NoSuchAlgorithmException | KeyStoreException | KeyManagementException | IOException | IllegalArgumentException e) {
throw new TLSConfigurationError(e);
}

Expand Down

0 comments on commit c617702

Please sign in to comment.