Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

bamboo codedeploy error: No enum constant com.atlassian.bamboo.plugins.aws.codedeploy.DeploymentStat

# Background

I am trying to use Bamboo to deploy a Laravel 5.4 project to AWS CodeDeploy. I split it into two parts: 1) the build plan, which runs `composer install` and unit tests, then 2) the deployment plan, which takes the files and runs Bamboo's CodeDeploy plugin.

It was working at first, and then I randomly got the below error. I could not find this error anywhere on the internet, so I decided to post it here to see if anyone has an idea of what actually went wrong. Nothing about this makes any sense to me.

# Full Error

 31-Jul-2017 19:03:58 Attempt #18/60: status 'Ready'.
31-Jul-2017 19:03:58 Deployment overview: {Pending: 1,InProgress: 0,Succeeded: 0,Failed: 0,Skipped: 0}.
31-Jul-2017 19:03:58 Error occurred while running Task '(3)' of type com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-aws-codedeploy:task.aws.codeDeploy.
31-Jul-2017 19:03:58 java.lang.IllegalArgumentException: No enum constant com.atlassian.bamboo.plugins.aws.codedeploy.DeploymentStatus.READY
31-Jul-2017 19:03:58 at java.lang.Enum.valueOf(Enum.java:238)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.plugins.aws.codedeploy.DeploymentStatus.valueOf(DeploymentStatus.java:8)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.plugins.aws.codedeploy.DeploymentStatus.fromDisplayName(DeploymentStatus.java:36)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.plugins.aws.codedeploy.CodeDeployTask.retrieveDeploymentStatus(CodeDeployTask.java:221)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.plugins.aws.codedeploy.CodeDeployTask.executeDeployment(CodeDeployTask.java:165)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.plugins.aws.codedeploy.CodeDeployTask.execute(CodeDeployTask.java:73)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:317)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:246)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:317)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:216)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:138)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
31-Jul-2017 19:03:58 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
31-Jul-2017 19:03:58 at java.lang.Thread.run(Thread.java:748)
31-Jul-2017 19:03:58 Finalising the build...
31-Jul-2017 19:03:58 Stopping timer.
31-Jul-2017 19:03:58 Build xxxxxxx-xxxxxxx-xxxxxxx completed.
31-Jul-2017 19:03:58 Finished processing deployment result Deployment of 'release-3' on 'Production'

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

685 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you