Sha*_*ean 7 tfs tfsbuild azure-devops
我需要将Pre-build script path参数添加到我的构建定义文件中.我没有看到它接受参数的位置,也没有在Advanced Builds下显示多少,如下所示:

查看构建过程模板文件时GitTemplate.12.xaml,它显示它应该接受更多参数,如下所示AdvancedBuildSettings:

正如您所看到的,PostActionScriptPath参数的值是:
New Microsoft.TeamFoundation.Build.Common.BuildParameter(" { ""MSBuildArguments"": """",
""MSBuildPlatform"": ""Auto"", ""PreActionScriptPath"": """",
""PreActionScriptArguments"": """", ""PostActionScriptPath"": """",
""PostActionScriptArguments"": """", ""RunCodeAnalysis"": ""AsConfigured"" } ")
Run Code Online (Sandbox Code Playgroud)
任何人都知道如何打开此参数,以便我可以输入值PreActionScriptPath?这也发生在另一个构建定义中,该定义清楚地表明它接受.xaml文件中的参数.
编辑构建过程模板时,转到Arguments,查找Metadata并编辑该值.查找未显示的参数,然后单击右侧的标签View this parameter when:并选择Always show the parameter.
| 归档时间: |
|
| 查看次数: |
3774 次 |
| 最近记录: |