Skip to content

Commit

Permalink
Bump io.jenkins.tools.bom:bom-2.479.x
Browse files Browse the repository at this point in the history
  • Loading branch information
nfalco79 committed Jan 18, 2025
1 parent f93fe17 commit 6cc2bcb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.86</version>
<version>5.4</version>
<relativePath />
</parent>

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

<jenkins.version>2.479.1</jenkins.version>
<jenkins-bom.version>2.479</jenkins-bom.version>
<checkstyle.version>10.3.3</checkstyle.version>
<assertj.version>3.27.2</assertj.version>
</properties>
Expand All @@ -59,8 +59,8 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.440.x</artifactId>
<version>3234.v5ca_5154341ef</version>
<artifactId>bom-${jenkins-bom.version}.x</artifactId>
<version>3944.v1a_e4f8b_452db_</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class CredentialMaskingTest {
public static JenkinsRule r = new JenkinsRule();

@Before
public void setupConfigWithCredentials() {
public void setupConfigWithCredentials() throws Exception {
UsernamePasswordCredentialsImpl credential = new UsernamePasswordCredentialsImpl(CredentialsScope.GLOBAL, "usercreds", "", "bot", "s3cr3t");
credential.setUsernameSecret(true);
SystemCredentialsProvider.getInstance().getCredentials().add(credential);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@

import hudson.FilePath;
import hudson.model.FreeStyleBuild;
import hudson.model.Descriptor.FormException;
import jenkins.plugins.nodejs.configfiles.NPMConfig;
import jenkins.plugins.nodejs.configfiles.NPMRegistry;
import jenkins.plugins.nodejs.configfiles.Npmrc;
Expand Down Expand Up @@ -73,7 +74,7 @@ public void test_supply_npmrc_with_registry() throws Exception {
assertEquals("Unexpected value from settings email", "[email protected]", npmrc.get("email"));
}

private StandardUsernameCredentials createUser(String id, String username, String password) {
private StandardUsernameCredentials createUser(String id, String username, String password) throws FormException {
return new UsernamePasswordCredentialsImpl(CredentialsScope.GLOBAL, id, null, username, password);
}

Expand Down

0 comments on commit 6cc2bcb

Please sign in to comment.