[ 
https://issues.jenkins-ci.org/browse/JENKINS-11953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159394#comment-159394
 ] 

SCM/JIRA link daemon commented on JENKINS-11953:
------------------------------------------------

Code changed in jenkins
User: Francis Upton IV
Path:
 src/main/java/hudson/plugins/ec2/AmazonEC2Cloud.java
 src/main/java/hudson/plugins/ec2/AwsRegion.java
 src/main/java/hudson/plugins/ec2/EC2Cloud.java
 src/main/java/hudson/plugins/ec2/EC2Computer.java
 src/main/java/hudson/plugins/ec2/EC2Slave.java
 src/main/java/hudson/plugins/ec2/PluginImpl.java
 src/main/java/hudson/plugins/ec2/SlaveTemplate.java
 src/main/resources/hudson/plugins/ec2/AmazonEC2Cloud/config-entries.jelly
 src/main/resources/hudson/plugins/ec2/EC2Computer/configure.jelly
 src/main/resources/hudson/plugins/ec2/EC2Slave/help-zone.html
 src/main/resources/hudson/plugins/ec2/Messages.properties
 src/main/resources/hudson/plugins/ec2/SlaveTemplate/config.jelly
 src/test/java/hudson/plugins/ec2/AmazonEC2CloudTest.java
 src/test/java/hudson/plugins/ec2/SlaveTemplateTest.java
 src/test/java/hudson/plugins/ec2/TemplateLabelsTest.java
http://jenkins-ci.org/commit/ec2-plugin/f0e542fa9b2c6e4f112294b92145afd4e04eadd9
Log:
  [FIXED JENKINS-8946] Option to set Zone as well as region for instance 
creation [FIXED JENKINS-11953] Dynamically local AWS regions


Compare: https://github.com/jenkinsci/ec2-plugin/compare/19c419b...f0e542f


                
> EC2 plugin needs to load regions dynamically (or add Oregon region to list)
> ---------------------------------------------------------------------------
>
>                 Key: JENKINS-11953
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11953
>             Project: Jenkins
>          Issue Type: Bug
>          Components: ec2
>         Environment: Win/Linux
>            Reporter: Ruben Orduz
>            Assignee: Frank Bille
>
> EC2 plug-in seems to have regions hard coded. As more regions are added, 
> these will have to be added to the list. Instead, it should retrieve all 
> available regions through one API call, that way there would be no list to 
> maintain.
> The problem code can be seen here:
> https://github.com/jenkinsci/ec2-plugin/blob/master/src/main/java/hudson/plugins/ec2/AwsRegion.java
>  (lines 19-23). It should get all that info with the API calls, not through 
> hard-coded enum kind of thing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to