Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from jenkinsci/fix/fix_connection_loss
Fix/fix connection loss
- Loading branch information
Showing
19 changed files
with
220 additions
and
272 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
3 changes: 0 additions & 3 deletions
3
src/main/java/fr/edf/jenkins/plugins/mac/connector/MacComputerConnector.groovy
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
2 changes: 0 additions & 2 deletions
2
src/main/java/fr/edf/jenkins/plugins/mac/provisioning/InProvisioning.groovy
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
1 change: 0 additions & 1 deletion
1
src/main/java/fr/edf/jenkins/plugins/mac/slave/MacComputerListener.groovy
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
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
15 changes: 12 additions & 3 deletions
15
...tion/SSHClientFactoryConfiguration.groovy → ...nection/SSHConnectionConfiguration.groovy
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 |
---|---|---|
@@ -1,18 +1,27 @@ | ||
package fr.edf.jenkins.plugins.mac.ssh.connection | ||
|
||
import hudson.model.ModelObject | ||
import hudson.util.Secret | ||
|
||
/** | ||
* All properties needed for SshClientFactory | ||
* @author Mathieu DELROCQ | ||
* | ||
*/ | ||
class SSHClientFactoryConfiguration { | ||
abstract class SSHConnectionConfiguration { | ||
String host | ||
String credentialsId | ||
Integer port | ||
ModelObject context | ||
Integer connectionTimeout | ||
Integer readTimeout | ||
Integer kexTimeout | ||
} | ||
|
||
class SSHGlobalConnectionConfiguration extends SSHConnectionConfiguration { | ||
String credentialsId | ||
ModelObject context | ||
} | ||
|
||
class SSHUserConnectionConfiguration extends SSHConnectionConfiguration { | ||
String username | ||
Secret password | ||
} |
Oops, something went wrong.