Some TeamCity Build Agent Parameters Not Auto-Populating on Rocky Linux

We are migrating our CentOS TeamCity build agents to Rocky Linux, and seem to have lost some functionality because of this.

On CentOS, when installing 'dotnet-core*' packages we first manually added Microsoft's CentOS repo, which then install .NET SDKs to '/usr/lib/dotnet'.

This has changed on Rocky Linux. The 'dotnet-core*' packages are included in the default AppStream repo and not included in Microsoft's RHEL repo. These packages install .NET SDKs to '/usr/lib64/dotnet/'.

It seems that because of this, some parameters on our build agents under Parameters >  Configuration Parameters are not longer being auto-populated. These were being auto-populated on CentOS. These are the parameters now missing (copied from the CentOS build agents):

DotNetCLI  7.0.202
DotNetCoreRuntime3.1.32_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.32
DotNetCoreRuntime3.1_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.32
DotNetCoreRuntime5.0.17_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/5.0.17
DotNetCoreRuntime5.0_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/5.0.17
DotNetCoreRuntime6.0.0_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.0
DotNetCoreRuntime6.0.12_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.12
DotNetCoreRuntime6.0.13_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.13
DotNetCoreRuntime6.0.14_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.14
DotNetCoreRuntime6.0.15_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.15
DotNetCoreRuntime6.0.1_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.1
DotNetCoreRuntime6.0.2_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.2
DotNetCoreRuntime6.0.3_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.3
DotNetCoreRuntime6.0.5_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.5
DotNetCoreRuntime6.0.6_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.6
DotNetCoreRuntime6.0_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.15
DotNetCoreRuntime7.0.0_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.0
DotNetCoreRuntime7.0.1_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.1
DotNetCoreRuntime7.0.2_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.2
DotNetCoreRuntime7.0.3_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.3
DotNetCoreRuntime7.0.4_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.4
DotNetCoreRuntime7.0_Path  /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.4
DotNetCoreSDK3.1.426_Path  /usr/share/dotnet/sdk/3.1.426
DotNetCoreSDK3.1_Path  /usr/share/dotnet/sdk/3.1.426
DotNetCoreSDK5.0.408_Path  /usr/share/dotnet/sdk/5.0.408
DotNetCoreSDK5.0_Path  /usr/share/dotnet/sdk/5.0.408
DotNetCoreSDK6.0.407_Path  /usr/share/dotnet/sdk/6.0.407
DotNetCoreSDK6.0_Path  /usr/share/dotnet/sdk/6.0.407
DotNetCoreSDK7.0.202_Path  /usr/share/dotnet/sdk/7.0.202
DotNetCoreSDK7.0_Path  /usr/share/dotnet/sdk/7.0.202



0
1 comment

temp fix: ln -s /usr/lib64/dotnet/ /usr/share/dotnet

0

Please sign in to leave a comment.