简体   繁体   中英

is it possible to run a build step in Visual Studio Team Services irrespective of failure of a build step

I am running an automation build using visual studio team services and I am having a series of build steps. One of the build step ( and the last ) build step is to shut down all the VMs using powershell script.

This build step is executed if all the previous build step passes. But if any one of the build step fails, the subsequent build step and also last build step does not get executed.

Is there a way to execute the final build step irrespective of the other build step

Yes, check the "Always run" option of the step. 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM