tfs - TFSBuild.exe 发送参数
问题描述
我正在尝试从 powershell 调用 xaml 构建定义。下面的命令工作正常。但我需要在运行时将 Clean 存储库值更改为“True”。
我应该如何修改我的命令?
命令:.\TFSBuild.exe start /collection:"https://myurl/tfs" /builddefinition:"Test\Sample.dev"
谢谢
解决方案
据我所知,在运行时TFSbuild command-line
不支持覆盖Clean repository
参数。我们必须在设计时通过编辑 xaml 定义来更改值。(不是运行时。)
Here's supported references for tfsbuild start command,很明显tfsbuild.exe
没有开关/参数Clean repository
.
推荐阅读
- terraform - 你如何为 IAC 设置你的仓库?
- node.js - 我必须为迁移回滚编写反向操作吗?
- php - 如何通过 php 使用 sendgrid 正确发送电子邮件
- c# - C# Windows 窗体应用程序 ListView:如何强制 ListView 不更新?
- php - 无法将值添加到关联数组 php
- azure-devops - 当我包含代码覆盖率时,无法获得 Azure DevOps Release Pipelines
- c - 在 gcc 中编译 c 时收到有关强制转换“从指针到不同大小的整数”的警告
- java - 无效标志:将 java 包升级到 1.8.0_211 后的 -jar
- python - 如何在 Subprocess.run 命令中使用 for 循环
- python-3.x - 如何让我的计算机识别用 python3 编写的代码?