-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump io.jenkins.tools.bom:bom-2.479.x
- Loading branch information
Showing
3 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
|
@@ -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); | ||
} | ||
|
||
|