I searched a lot online but did not find an answer to this.
We have two projects A and B, which trigger a common project C as it's pipeline step. Now if A has triggered C (common project), and B also triggers C at around the same time, only one build of C is run and the result is consumed by both A and B. The build status in C shows "Started by upstream project A" and "Started by upstream project B" both.
How do I make project C first complete the build triggered by A and then start a new build for the trigger by B?