Agent detecting wrong version of Windows Server


I recently created a new build server, Windows Server 2019.  However, TeamCity is showing it's Server 2016.  Any ideas on how to fix this?

1 comment
Comment actions Permalink

The issue has been discussed over Zendesk; as a general notice, certain OpenJDK bug caused JVM to report Windows Server 2019 OS version as Windows Server 2016 and, as TeamCity uses Java core methods to retrieve OS details, incorrect data made it to the TeamCity UI/agent parameters. It was fixed in 8u222/11.0.3 so upgrading to the newer version of JDK helps with the issue.


Please sign in to leave a comment.