How to create a Zip file of a generated JAR and an other .platform folder(present in the same server as Jenkins but in a different path). This Zip file must be uploaded to S3 bucket and then deployed to AWS Elastic Beanstalk using the ElasticBeanstalk plug-in in Jenkins.
Below i’m sharing an image for reference.
sh('''
zip filename.zip filestozip
awscli beanstock upload
''')
Hi Gavin,
should I implement this in Jenkins? As I have not installed AWS CLI. Is it not possible to configure this in Jenkins?
Also AWS Elastic Beanstalk takes the Zip file from S3 bucket. It is an absolute requirement that the zipped files must be in S3 bucket.
Also can you please elaborate this command with an example?