teamcity-dotnet-plugin
teamcity-dotnet-plugin copied to clipboard
dotCover started even if not requested to be started in the build configuration
TC 2017.2.4 (build 51228)
- Create build step "dotnet test" with dotCover enabled
- Clone "dotnet test" step and change to "dotnet build" on the clone, reorder clone to be the first step
- Open "dotnet build" step editor - there is no dotCover selected (and even no possibility to select it)
- When you run the configuration, the first step log shows that dotCover is started for build:
Step 1/2: Build (.NET CLI (dotnet))
(running for 3m:56s)
[09:46:26]dotnet.exe build @C:\BuildAgent\temp\agentTmp\f37328e12a214f5cb4a8152dabcb4c23.rsp
[09:46:26]build
(running for 3m:56s)
[09:46:26]Starting: C:\BuildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\dotCover.exe cover C:\BuildAgent\temp\buildTmp\34fd495502774a35b88ea2af6e049f57.dotCover /ReturnTargetExitCode /NoCheckForUpdates /AnalyzeTargetArguments=false
Originally from: https://teamcity-support.jetbrains.com/hc/en-us/community/posts/360000020540-Dotnet-CLI-dotCover-started-even-if-not-requested-to-be-started-in-the-build-configuration