关于 c#:无论构建步骤是否失败,是否可以在 Visual Studio Team Services 中运行构建步骤 | 珊瑚贝

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


我正在使用 Visual Studio 团队服务运行自动化构建,并且我正在执行一系列构建步骤。构建步骤之一(也是最后一个)构建步骤是使用 powershell 脚本关闭所有 VM。

如果前面的所有构建步骤都通过,则执行此构建步骤。但是,如果任何一个构建步骤失败,则后续构建步骤和最后一个构建步骤都不会执行。

有没有一种方法可以执行最终的构建步骤而不考虑其他构建步骤


是的,选中该步骤的”始终运行”选项。
enter

  • 非常感谢您的回答。星期五你是我的人……再次感谢。这行得通。


来源:https://www.codenong.com/38092735/

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_8778.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?