Symptoms
- The build configuration has the Pull Requests build feature enabled.
- The build is started on a non-PR branch.
- In this case, the values of
teamcity.pullRequest.*parameters reported by the Pull Requests build feature were empty in TeamCity versions prior to 2026.1. - After updating TeamCity from versions <2026.1 to versions >=2026.1, the values of these parameters are set to
N/A.
Cause
This is an intended change, related to After TeamCity update to 2025.11.1 the %teamcity.pullRequest.source.branch% and %teamcity.pullRequest.target.branch% parameters return incorrect or empty value.
Resolution
This is intended behavior.
However, if your workflow depends on teamcity.pullRequest.* parameter values being empty for non-PR builds, as was the case before, the teamcity.pullRequests.parametersProvider.placeHolderParameters.enabled=false internal property can be used to disable the N/A placeholders.
Comments
0 comments
Please sign in to leave a comment.