Skip to content

Commit 6cc2bcb

Browse files
committed
Bump io.jenkins.tools.bom:bom-2.479.x
1 parent f93fe17 commit 6cc2bcb

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.jenkins-ci.plugins</groupId>
77
<artifactId>plugin</artifactId>
8-
<version>4.86</version>
8+
<version>5.4</version>
99
<relativePath />
1010
</parent>
1111

@@ -48,9 +48,9 @@
4848
<revision>1.6.3</revision>
4949
<changelist>-SNAPSHOT</changelist>
5050
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
51-
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/#changing-the-minimum-required-version -->
52-
<jenkins.version>2.440.3</jenkins.version>
5351

52+
<jenkins.version>2.479.1</jenkins.version>
53+
<jenkins-bom.version>2.479</jenkins-bom.version>
5454
<checkstyle.version>10.3.3</checkstyle.version>
5555
<assertj.version>3.27.2</assertj.version>
5656
</properties>
@@ -59,8 +59,8 @@
5959
<dependencies>
6060
<dependency>
6161
<groupId>io.jenkins.tools.bom</groupId>
62-
<artifactId>bom-2.440.x</artifactId>
63-
<version>3234.v5ca_5154341ef</version>
62+
<artifactId>bom-${jenkins-bom.version}.x</artifactId>
63+
<version>3944.v1a_e4f8b_452db_</version>
6464
<scope>import</scope>
6565
<type>pom</type>
6666
</dependency>

src/test/java/jenkins/plugins/nodejs/CredentialMaskingTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public class CredentialMaskingTest {
6666
public static JenkinsRule r = new JenkinsRule();
6767

6868
@Before
69-
public void setupConfigWithCredentials() {
69+
public void setupConfigWithCredentials() throws Exception {
7070
UsernamePasswordCredentialsImpl credential = new UsernamePasswordCredentialsImpl(CredentialsScope.GLOBAL, "usercreds", "", "bot", "s3cr3t");
7171
credential.setUsernameSecret(true);
7272
SystemCredentialsProvider.getInstance().getCredentials().add(credential);

src/test/java/jenkins/plugins/nodejs/NpmrcFileSupplyTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545

4646
import hudson.FilePath;
4747
import hudson.model.FreeStyleBuild;
48+
import hudson.model.Descriptor.FormException;
4849
import jenkins.plugins.nodejs.configfiles.NPMConfig;
4950
import jenkins.plugins.nodejs.configfiles.NPMRegistry;
5051
import jenkins.plugins.nodejs.configfiles.Npmrc;
@@ -73,7 +74,7 @@ public void test_supply_npmrc_with_registry() throws Exception {
7374
assertEquals("Unexpected value from settings email", "[email protected]", npmrc.get("email"));
7475
}
7576

76-
private StandardUsernameCredentials createUser(String id, String username, String password) {
77+
private StandardUsernameCredentials createUser(String id, String username, String password) throws FormException {
7778
return new UsernamePasswordCredentialsImpl(CredentialsScope.GLOBAL, id, null, username, password);
7879
}
7980

0 commit comments

Comments
 (0)