Nested jobs, parallel, fork/join flow

#1

Hey,

We have a single repository which produces artifacts on multiple platforms.

Today we have single “watchdog” job which is looking for changes in the particular branch and then kicks platform-specific jobs via api call with curl - quite ugly and makes things complicated when we need to pass data from parent job to child ones. Besides the parent job has no information about execution status of children.

Is there a nicer way to configure jobs so that one job can kick another one and watch it’s status and pass data nicely back and forth?

Thanks.

0 Likes

#2

Hi @max,

Unfortunately no, not right now. We have plans, but right now the way you described is probably the best.

One thing you can think about to leverage, if you have an external server, is the new Outgoing Webhooks: https://blog.bitrise.io/outgoing-webhooks
With that & with the API (http://devcenter.bitrise.io/api/build-trigger/) it should be possible to have more advanced setups :slight_smile:

0 Likes

#3

Is there any progress on this feature?

0 Likes

#4

Hi @max! In case you’d like to see this happen, please see this request discussion for example: Parallel Builds: trigger multiple workflows (builds) at the same time - build stages - fan-out fan-in support if it describes your needs please vote for it, otherwise submit a request yourself! :slight_smile:

0 Likes