How to resolve all variable at build-time
Hi,
Coming from VSTS, if I wanted to see what a variable / parameter resolved to, I could enable System.Debug or write a PowerShell task (runner) and all parameters would be resolved in the log.
How do I do the same with TC? I have seen this question where the answer seems to be to use: buildType.getResolvedSettings().getBuildFeatures(), but how and where do I use it?
TIA
W
Please sign in to leave a comment.
If you want to see the resolved parameters values in the TeamCity UI you can find them in the "Actual Parameters on Agent" section of the finished build Parameters tab.
Hi,
This question hasn't been answered. I still need some method to see all resolved parameters passed to configuration. Values from buildTab=buildParameters are not all resolved. How we all can see resolved parameters in UI?
Hi Vadym,
Julia's answer is still correct. the "Actual parameters on agent" section is the resulting values of the parameters as they were in the build. If that is missing something, please be specific about what exactly it is that you are looking for, or what is missing from that page.
Thanks! I just figured out where is this section is.