![](/img/trans.png)
[英]Release Management Client for Visual Studio 2013 Requirements and Licenses
[英]How to access tfs variables from a component using a custom powershell script for Visual Studio Release Management 2013 Release 4.0
我的Visual Studio 2013版本管理客戶端/服務器版本是4.0版。 我正在使用ReleaseTfvcTemplate.12.xaml模板。 使用基於AGENT的發布模板時,是否可以通過發布管理組件(部署程序配置)訪問系統變量? 當我嘗試傳遞$ applicationPath或$(applicationPath)或$(ApplicationPath)時,我得到NULL。
這是我在具有自定義Powershell部署腳本的RM中部署組件的狀態:
正如Graham在評論中提到的那樣,構建輸出在本地復制,並且是執行Powershell時的工作目錄。
您還可以使用它來訪問構建放置位置:$(PackageLocation) http://incyclesoftware.zendesk.com/entries/24422737-Deployment-Metadata
剛剛從多諾萬·布朗(Donovan Brown)找到了最新的消息: http : //donovanbrown.com/post/What-are-the-System-variables-for-PS-DSC-deployments-in-Release-Management.aspx
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.