TFS vNext build和powershell [英] TFS vNext build and powershell
本文介绍了TFS vNext build和powershell的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有人知道PowerShell的方法其中 我可以阅读构建通知,以便我可以将信息发送到另一个产品
构建失败, < span lang ="EN-US"style ="color:black; line-height:115%; font-family:'Segoe UI','sans-serif'; font-size:9pt"> Build Succeeded,mm
当构建运行时,查找不是此的环境变量
/ Lars Ole
解决方案
嗨Lars,
感谢您的帖子。
我们可以使用以下PowerShell代码来获取构建信息:
function Wait-QueuedBuild {
param (
QueueID
)
[void] [Reflection.Assembly] :: LoadWithPartialName('Microsoft.TeamFoundation.Build.Client')
[void] [Reflection.Assembly] :: LoadWithPartialName('Microsoft.TeamFoundation.Client')
uri = [URI]" http:// server-name:8080 / TFS /项目收集"
Are there some who know a way with powershell where I can read the build notification so i can send information to another product
Build Failed, Build Succeeded, m.m.
The find is not as environment variable for this when the build run
/Lars Ole
解决方案
Hi Lars,
Thanks for your post.
We could use the following PowerShell code to get the build information:
function Wait-QueuedBuild { param(
QueueID ) [void][Reflection.Assembly]::LoadWithPartialName('Microsoft.TeamFoundation.Build.Client') [void][Reflection.Assembly]::LoadWithPartialName('Microsoft.TeamFoundation.Client')
uri = [URI]"http://server-name:8080/tfs/project-collection"
这篇关于TFS vNext build和powershell的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文