I am trying to configure a Bitbucket pipeline for multi-module Maven/Java build and deploy to AWS elasticbeanstalk but having lots of trouble.
How do I specify the ZIP_FILE value? My jar is in one of the sub-modules of the maven build. It always reports ' FileNotFoundError: [Errno 2] No such file or directory:"
Is there a full spec of the options for Maven builds and deployments to elasticbeanstalk?
Are there more complex examples of the above available?
Hi David and welcome to the community!
Are you using the pipe atlassian/aws-elasticbeanstalk-deploy:1.4.1 in order to deploy? If so, this is the pipe's repository:
If you scroll down, you will see the pipe's README with more details and examples.
Based on the error you shared, I believe one of the two is the most likely reasons:
- step: name: Build docker-multicontainer-v2 App script: - zip -r docker-multicontainer-v2.zip cron.yaml Dockerrun.aws.json .ebextensions php-app proxy artifacts: - docker-multicontainer-v2.zip - step: name: Deploy to AWS EBS caches: - pip script: - pipe: atlassian/aws-elasticbeanstalk-deploy:1.4.1 variables: AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION: 'us-east-1' APPLICATION_NAME: 'test-ebs-multi-docker' ENVIRONMENT_NAME: 'TestEbsMultiDocker-env' ZIP_FILE: 'docker-multicontainer-v2.zip' WAIT: 'true'
If you still experience issues, it would be useful to have the following info, so I can better help you:
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.