Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28971

Elastic Beanstalk Build step does not recognize eu-central-1 as a region

XMLWordPrintable

      Jenkins - Latest
      Mac OS X 10.10.3
      AWS CLI - Latest
      AWS EB CLI - Latest

      Creating S3 and AWSEB Client (AWS Access Key Id: AKIAIW6RFJDNNX6H4GIA, region: eu-central-1)
      ERROR: Build step failed with exception
      java.lang.RuntimeException: java.lang.IllegalArgumentException: Cannot create enum from eu-central-1 value!
      at br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:211)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      at hudson.model.Build$BuildExecution.build(Build.java:205)
      at hudson.model.Build$BuildExecution.doRun(Build.java:162)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      at hudson.model.Run.execute(Run.java:1744)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:374)
      Caused by: java.lang.IllegalArgumentException: Cannot create enum from eu-central-1 value!
      at com.amazonaws.regions.Regions.fromName(Regions.java:64)
      at br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.initAWS(Deployer.java:206)
      at br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.perform(Deployer.java:104)
      at br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:207)
      ... 9 more
      Build step 'Deploy into AWS Elastic Beanstalk' marked build as failure
      Finished: FAILURE

            Unassigned Unassigned
            devotox Devonte Emokpae
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: