Pipeline code:
DEV-Content-Processor-Beanstalk:
- step:
name: mvn build
image: maven:3.6.1
script:
- cd ContentProcessor
- mvn -B clean install
artifacts:
- target/*.jar
- step:
name: Update Lambda code
script:
- pipe: atlassian/aws-elasticbeanstalk-deploy:0.6.6
variables:
AWS_ACCESS_KEY_ID: ${AWS_DEV_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_DEV_SECRET_KEY}
AWS_DEFAULT_REGION: 'us-east-1'
APPLICATION_NAME: 'ContentProcessor-app'
ENVIRONMENT_NAME: 'ContentProcessor-env'
ZIP_FILE: 'target/ContentProcessor-0.0.1-SNAPSHOT.jar'
Error:
Unable to find image 'bitbucketpipelines/aws-elasticbeanstalk-deploy:0.6.6@sha256:dfeaa669b57ad7943a7aeabe741caa608a287818f19b24aec7f57c' locally
docker.io/bitbucketpipelines/aws-elasticbeanstalk-deploy@sha256:dfeaa669b57ad7943a7aeabe741caa608a287818f19b24aec7f57c: Pulling from bitbucketpipelines/aws-elasticbeanstalk-deploy
5d20c808ce19: Pulling fs layer
...
96d448f11450: Pull complete
a36d5e990e62: Pull complete
Digest: sha256:dfeaa669b57ad7943a7aeabe741caa608a287818f19b24aec7f57c
Status: Downloaded newer image for bitbucketpipelines/aws-elasticbeanstalk-deploy@sha256:dfeaa669b57ad7943a7aeabe741caa608a287818f19b24aec7f57c
INFO: The application source bundle doesn't have a known file extension (zip, jar or war). This might cause some issues.
INFO: Uploading to s3 bucket: ContentProcessor-elasticbeanstalk-deployment...
The user-provided path target/ContentProcessor-0.0.1-SNAPSHOT.jar does not exist.
Issue: Deployment failed.
Please let me know, What is the issue here? Is there a way to troubleshoot it in local.?