Jenkins setup:
2.452.3
Aws codedeploy Plugin version: 1.23
Hello everyone,
I am currently using the jenkins and aws codedeploy plugin to execute automated deployments in codedeploy.
I have enabled a feature to add per environment appspec files and named the appspec files according to the deployment groupname.
I’m currently getting this issue.
Failed CodeDeploy post-build step; exception follows. /appspec.rewards-admin-dev.yml file does not exist java.lang.IllegalArgumentException: /appspec.rewards-admin-dev.yml file does not exist at com.amazonaws.codedeploy.AWSCodeDeployPublisher.zipAndUpload(AWSCodeDeployPublisher.java:352) at com.amazonaws.codedeploy.AWSCodeDeployPublisher.perform(AWSCodeDeployPublisher.java:233) at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)
Any help is greatly appreciated.
Thank you in advance