0
votes

I have a folder with different folders named A, B and C on my azure website.

Each folder contains 10.000 images and I want to upload each folder to its own blob storage.

I would like to do this in parallel with 3 web jobs.

When ALL 3 web jobs are done successfully then and ONLY then I would like to start a 4th webjob.

How is this scenario done of starting a webjob aka buildstep... ONLY when the former webjobs aka buildsteps are successfully?

1
Is this a one time task, requiring only a nitty-gritty get 'er done solution, or is this part of an application where you need a solid solution that can be used over and over, with different parameters?mathewc
this is part of an application/deployment process which should be run 100 times a year.Pascal

1 Answers

0
votes

When ALL 3 web jobs are done successfully then and ONLY then I would like to start a 4th webjob.

You could try this possible solution, in 3 uploading images webjobs, you could dynamically add/update queue message while webjob is done, for example, when one of these 3 webjobs uploaded all images, in webjob function you could check if there is a message is added in azure queue storage, if message not exists, you could add a message with 1 as message content, if message exists, you could update the content message to set message content as queue message content value + 1. And then in the fourth webjob, you could detect the message content and determine if do your task.