Hello,
I am trying to deploy my code from Jenkins to AWS Elastic Beanstalk using the AWS Elastic beanstalk Plugin. The project is a maven project which is being built successfully by the Jenkins job(Freestyle type).
My Jenkins is running on an AWS EC2 instance and I have given S3 full access and AWS CodePipeline full access to my EC2 server and also Attached the proper bucket policy to my S3 bucket i.e with the proper Elastic Beanstalk role. Also I have also added proper credentials in AWS Elastic Beanstalk plugin in Jenkins and also stored my AWS account credentials in Jenkins.
Below are the snippets that show the console output error
(1) As you can see that Jenkins is marking the build as a success.
Finally, whenever I config. the Deploy to S3 tab under Additional behaviors I get the above error. If i don’t config the additional Deploy to S3 config. the older version of the application the Elastic Beanstalk get updated by Jenkins, but that too is not being verified as when I run the AWS EB environment that has the latest application (according to Jenkins) i’m still seeing the old version.
Also I’m unable to figure out the Application version format in the AWS EB plugin in Jenkins.
I would like to create a new application version and not update the previous one.
Br,
Vikram