Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic number of jobs based on number of artifacts detected

Christopher Jewett
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 10, 2021

Hi,

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!

Thanks

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events