Category : teamcity

I’m building an Unreal project through TeamCity and my msbuild step is failing with the following error: error MSB4019: The imported project "C:Microsoft.Cpp.Default.props" was not found. Confirm that the expression in the Import declaration "Microsoft.Cpp.Default.props" is correct, and that the file exists on disk. I have VS 2019 installed and VCTargetsPath set to: C:Program Files ..

Read more

I am running my sonar scan on teamcity agent. My sonarqube version is Enterprise EditionVersion 7.9.1 (build 27448)LGPL v3Community.I have added a build step for sonar scan /ciBin/sonar-scanner-3.0.3.778-linux/bin/sonar-scanner -X -Dsonar.branch.name="%teamcity.build.branch%" -Dsonar.language=cpp It is failing with below error: 20:59:59 16:29:59.659 DEBUG: Execution stop 20:59:59 at com.sonar.cpp.plugin.CFamilySensor.execute(CFamilySensor.java:205) 20:59:59 at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:48) 20:59:59 at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:85) 20:59:59 at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:62) 20:59:59 ..

Read more

The following command @Set "installed_version=" & @(FOR /F %a IN (‘curl 192.168.1.151:5000/getversion’) DO @SET installed_version=%a) is failing when running on a Windows agent in Teamcity with error ) was unexpected at this time. Process exited with code 255 However, the same command runs smoothly when running on a command prompt on my local Windows 10 ..

Read more