Run from specific action

Hi

I have an action list with many build VS.NET solutions actions and I run all with ignore failure

Now in case one of the build VS.NET solution fail I want to rerun the action list starting with the first build.VS.NET action that failed.

 I thought that I need to detect the first action that fail and when running the action list again from the beginning check if the current running action is the one was detected and if not then skip it ( and stop the compare when reaching to the desired action

 Any other ideas how to do that ?

Thanks
  • <a class="reMode_preview" title="Preview" href="javascript:void(0);">Preview

Hi EF,

I would place the builds into a while loop which tests to see if there are still builds to run. This test could also include a max retries just to be safe.

Next inside the while loop I would have each build action under an “If” test action, testing to see if they should run for this loop. The build should be followed by an “If Prev Action Failed” test to set a variable to show that this was the build which failed.

I have attached a quick example project. You will have to replace the build solutions with your own as I haven’t included them in the zip.