Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Dynamic number of jobs based on number of artifacts detected



I am looking into parallelizing some of the work our Bamboo plans do and was curious if this was possible.

If I place a dynamic number of artifacts in a location is it possible to create a dynamic number of jobs to horizontally scale the processing of those artifacts? Example scenario below.

Let's say I have Stage One which outputs artifacts to a directory called CodeCoverageResults. Within that directory there is TestProjectOne.xml, TestProjectTwo.xml, TestProjectThree.xml, etc.

In Stage Two I want to loop over all of the artifacts in that directory and create one job per artifact, so each one is processed in parallel. 

Any guidance is appreciated!


0 answers

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events