I need to add Pre-build script path
parameter to my build definition file. I do not see where it is accepting the parameter nor does it show much under Advanced Builds as shown below:
When looking at the build process template file GitTemplate.12.xaml
, it shows that it should accept more parameters as seen in AdvancedBuildSettings
:
The value for the parameter is, as you can see, PostActionScriptPath
parameter is there:
New Microsoft.TeamFoundation.Build.Common.BuildParameter(" { ""MSBuildArguments"": """",
""MSBuildPlatform"": ""Auto"", ""PreActionScriptPath"": """",
""PreActionScriptArguments"": """", ""PostActionScriptPath"": """",
""PostActionScriptArguments"": """", ""RunCodeAnalysis"": ""AsConfigured"" } ")
Anyone knows how to turn this parameter on so I can enter a value for PreActionScriptPath
? This also happens in another build definition that clearly shows that it accepts a parameter in the .xaml file.
When editing the build process template, go to the Arguments, look for Metadata
and edit the value. Look for the parameters that are not showing, click them then on the right hand side for the label View this parameter when:
and select Always show the parameter
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With