The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events