Update plugin bom to version 9

This commit is contained in:
Devin Nusbaum 2020-06-08 15:29:10 -04:00 committed by Tim Jacomb
parent 1c32633d87
commit aa5b999ca7
2 changed files with 3 additions and 5 deletions

View File

@ -73,7 +73,6 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>mailer</artifactId>
<version>1.32</version>
<scope>test</scope>
</dependency>
<dependency>
@ -154,7 +153,6 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>credentials</artifactId>
<version>2.3.3</version>
</dependency>
<dependency>
@ -420,7 +418,6 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>display-url-api</artifactId>
<version>2.3.2</version>
<scope>test</scope>
</dependency>
@ -695,7 +692,7 @@
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.176.x</artifactId>
<version>3</version>
<version>9</version>
<scope>import</scope>
<type>pom</type>
</dependency>

View File

@ -48,7 +48,8 @@ public class SSHCredentialsTest {
assertNotInLog(logging, CREDENTIALS_PASSWORD);
BasicSSHUserPrivateKey certKey = getCredentials(BasicSSHUserPrivateKey.class);
assertEquals(PRIVATE_KEY, certKey.getPrivateKey());
// JENKINS-50181 made getPrivateKey always append a trailing newline.
assertEquals(PRIVATE_KEY + "\n", certKey.getPrivateKey());
assertNotInLog(logging, PRIVATE_KEY);
// Verify that the password does not get exported