I need to set a job that starts running after one of several other jobs are done , that are all in the same stage.
I ve tried to use the keyword "needs" , but i didn't recognize how to tell it to consider the case of "if only one among all job is done"
What i'm looking for , is some way to get it :
if : JOB_A is done OR JOB_BA is done
then : Run JOB_C
JOB_A
stage: mystage
...
JOB_B
stage: mystage
...
JOB_C:
stage: mystage
variables:
PLAYBOOK_NAME: myplaybook.yml
INVENTORY_NAME: myInventory.yml
needs: [JOB_A or JOB_B] # THIS is a wrong way to set it i think
when: manual
Suggestions ??