Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Artifacts created from pipeline build step coming up as not found when running deploy to aws


When running my build and deploy pipeline, my build step creates an artifact, which appears to be created as expected, shows up on the Artifacts tab after the build completes, i can download it, and it is as expected. I am then trying to deploy that zip file to AWS Elastic Beanstalk but when I run the deploy step (setup as manual) it tells me "The user-provided path does not exist".


Here is my bitbucket-pipelines.yml:


- parallel:
- step:
name: Build and Test
- dotnetcore
- apt-get update
- apt-get install -y zip
- echo "Building project"
- dotnet restore
- dotnet build --no-restore --configuration Release
- dotnet publish -o application --configuration Release
- zip -r -X application
- step:
name: Deploy to staging
deployment: staging
trigger: manual # Uncomment to make this a manual deployment.
- echo "Deploying to staging environment"
- pipe: atlassian/aws-elasticbeanstalk-deploy:0.6.7
AWS_ACCESS_KEY_ID: '$aws_access_key_id' # Optional if already defined in the context.
AWS_SECRET_ACCESS_KEY: '$aws_secret_access_key' # Optional if already defined in the context.
AWS_DEFAULT_REGION: '$aws_default_region' # Optional if already defined in the context.
APPLICATION_NAME: '$application_name'

1 answer

0 votes

Hi @stephenhalpin ,

I believe the reason for the error is that the two steps in your yml file are defined as parallel.

Parallel steps can only use artifacts produced by previous steps, not by steps in the same parallel set.

Is there any reason why you need those to be parallel? I see that the deployment step is triggered manually, and it would require the completion of the previous step for the artifact to be generated.

Could you try removing the definition for parallel and let me know if this works?

If there are still issues or if you have any questions, please feel free to let me know.

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

219 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you