-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Plugin Version 1.5
Jenkins 1.620
Debian Jessie
java.runtime.version 1.7.0_79-b14
With version 1.4.4, I was able to deploy using the EC2 IAM Role.
When I update to version 1.5, I get the following exception:
ERROR: Build step failed with exception java.lang.RuntimeException: java.lang.NullPointerException: No credentials provided for build!!! at org.jenkinsci.plugins.awsbeanstalkpublisher.extensions.AWSEBSetup.perform(AWSEBSetup.java:25) at org.jenkinsci.plugins.awsbeanstalkpublisher.AWSEBBuilder.perform(AWSEBBuilder.java:65) 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:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Caused by: java.lang.NullPointerException: No credentials provided for build!!! at org.jenkinsci.plugins.awsbeanstalkpublisher.extensions.AWSEBElasticBeanstalkSetup.getActualcredentials(AWSEBElasticBeanstalkSetup.java:157) at org.jenkinsci.plugins.awsbeanstalkpublisher.AWSEBEnvironmentUpdater.<init>(AWSEBEnvironmentUpdater.java:50) at org.jenkinsci.plugins.awsbeanstalkpublisher.extensions.AWSEBElasticBeanstalkSetup.perform(AWSEBElasticBeanstalkSetup.java:164) at org.jenkinsci.plugins.awsbeanstalkpublisher.extensions.AWSEBSetup.perform(AWSEBSetup.java:21) ... 10 more