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

Passing Artifacts to Custom Pipeline


Hi Folks,

In our main code repo, we have a build step that zips up the build artefacts and sends them to S3 for storage. Up to now we had a build box which then downloaded these and built our containers.

I am trying to move away from that step, and not utilise the ` - pipe: atlassian/trigger-pipeline:4.2.1` to call a custom pipeline in my build repo.

I would like, if possible to pass the build artifacts from the previous step:

   - master/build/

To my custom pipeline, is this possible?

The custom Pipeline is a Docker build:

- step: &build-wildfly
name: Build Wildfly Container

- docker


- docker


- echo "Building Wildfly $HYP_VERSION Container"

I know artifacts are passed between steps, but I am not certain if they would automatically passed to the trigger-pipeline



2 answers

Also the artifacts have to total less than 1GB

Hello @Dave Gilmore , welcome to the Atlassian Community!

Yes, like you wrote artifacts can be passed along the steps of a pipeline. But they are not passed from one pipeline to another. The support document is Use artifacts in steps.

Most easy it is that you have one pipeline with multiple steps so you have the artifacts directly at hand. For this YAML anchors could help you to keep duplication low, just seeing the `Build Wildfly Container` has already an anchor.

Manual or Deployment steps could also be helpful so that you must not always run further steps if you don't like. Manual steps have artifacts support like any other step.

Another option is that the artifacts of the last pipeline step are stored for 14 days. So the other pipeline could download these. I do not know however how well this is supported by the REST API but this could be something worth to look into. Also there is a feature in Bitbucket called Downloads, see Deploy build artifacts to Bitbucket Downloads for more info.

I do see this might not be the answer you've been hoping for, so I hope you can find some new options in my answer that helps you get going.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Trello

Taco Tuesday: Your favorite Trello blog takeaway

Hello friends! From the community that brought you Welcome Wednesday, Throwback Thursday and Friday Fun, welcome to Taco Tuesday, a weekly discussion about all things Trello. The best part? One Tac...

66 views 4 3
Join discussion

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