@@ -74,14 +74,14 @@ public class AmazonEC2Cloud extends EC2Cloud {
74
74
private boolean noDelayProvisioning ;
75
75
76
76
@ DataBoundConstructor
77
- public AmazonEC2Cloud (String cloudName , boolean useInstanceProfileForCredentials , String credentialsId , String region , String privateKey , String sshKeysCredentialsId , String instanceCapStr , List <? extends SlaveTemplate > templates , String roleArn , String roleSessionName ) {
78
- super (cloudName , useInstanceProfileForCredentials , credentialsId , privateKey , sshKeysCredentialsId , instanceCapStr , templates , roleArn , roleSessionName );
77
+ public AmazonEC2Cloud (String name , boolean useInstanceProfileForCredentials , String credentialsId , String region , String privateKey , String sshKeysCredentialsId , String instanceCapStr , List <? extends SlaveTemplate > templates , String roleArn , String roleSessionName ) {
78
+ super (name , useInstanceProfileForCredentials , credentialsId , privateKey , sshKeysCredentialsId , instanceCapStr , templates , roleArn , roleSessionName );
79
79
this .region = region ;
80
80
}
81
81
82
82
@ Deprecated
83
- public AmazonEC2Cloud (String cloudName , boolean useInstanceProfileForCredentials , String credentialsId , String region , String privateKey , String instanceCapStr , List <? extends SlaveTemplate > templates , String roleArn , String roleSessionName ) {
84
- super (cloudName , useInstanceProfileForCredentials , credentialsId , privateKey , instanceCapStr , templates , roleArn , roleSessionName );
83
+ public AmazonEC2Cloud (String name , boolean useInstanceProfileForCredentials , String credentialsId , String region , String privateKey , String instanceCapStr , List <? extends SlaveTemplate > templates , String roleArn , String roleSessionName ) {
84
+ super (name , useInstanceProfileForCredentials , credentialsId , privateKey , instanceCapStr , templates , roleArn , roleSessionName );
85
85
this .region = region ;
86
86
}
87
87
0 commit comments