Skip to content

Commit

Permalink
chore(deps): bump org.jenkins-ci.plugins:credentials from 1371.vfee6b…
Browse files Browse the repository at this point in the history
…_095f0a_3 to 1393.v6017143c1763 (#535)

* chore(deps): bump org.jenkins-ci.plugins:credentials

Bumps [org.jenkins-ci.plugins:credentials](https://github.com/jenkinsci/credentials-plugin) from 1371.vfee6b_095f0a_3 to 1393.v6017143c1763.
- [Release notes](https://github.com/jenkinsci/credentials-plugin/releases)
- [Changelog](https://github.com/jenkinsci/credentials-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jenkinsci/credentials-plugin/commits)

---
updated-dependencies:
- dependency-name: org.jenkins-ci.plugins:credentials
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: report exception

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ivan Fernandez Calvo <kuisathaverat@gmail.com>
  • Loading branch information
dependabot[bot] and kuisathaverat authored Dec 20, 2024
1 parent ec8d7db commit af69f19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>credentials</artifactId>
<version>1371.vfee6b_095f0a_3</version>
<version>1393.v6017143c1763</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import hudson.model.Descriptor;
import hudson.model.Node;
import hudson.model.Slave;
import hudson.model.Descriptor.FormException;
import hudson.plugins.sshslaves.SSHLauncher;
import hudson.plugins.sshslaves.rules.CheckIsDockerAvailable;
import hudson.plugins.sshslaves.rules.CheckIsLinuxOrMac;
Expand Down Expand Up @@ -110,7 +111,7 @@ private void createSshKeyCredentials(String id, String keyResourcePath, String p
Collections.singletonList(credentials));
}

private void createSshCredentials(String id) throws IOException {
private void createSshCredentials(String id) throws IOException, FormException {
StandardUsernameCredentials credentials =
new UsernamePasswordCredentialsImpl(CredentialsScope.SYSTEM, id, "", USER, PASSWORD);
SystemCredentialsProvider.getInstance().getDomainCredentialsMap().put(Domain.global(),
Expand Down

0 comments on commit af69f19

Please sign in to comment.