简体   繁体   English

通过Powershell暂停TFS构建定义

[英]Pause TFS build definition via powershell

I would like to create a powershell script that pauses a TFS build definition programmatically. 我想创建一个Powershell脚本,以编程方式暂停TFS构建定义。 So far, tf.exe doesn't seem to offer any kind of functionality for that. 到目前为止,tf.exe似乎尚未提供任何功能。 Is there any library or api I can use to achieve this? 我可以使用任何库或API来实现此目的吗?

There is no easy way known to do that in TFS build. 在TFS构建中没有简单的方法可以做到这一点。 Perhaps stop the build service(the build will hang up ) can be easily executed when the scheduled scripts are running. 当计划的脚本运行时,停止构建服务(构建将挂断)可能很容易执行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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