Dotnet CLI: dotCover started even if not requested to be started in the build configuration

TC 2017.2.4 (build 51228)

 

1. Create build step "dotnet test" with dotCover enabled

2. Clone "dotnet test" step and change to "dotnet build" on the clone, reorder clone to be the first step

3. Open "dotnet build" step editor - there is no dotCover selected (and even no possibility to select it)

4. 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
...
```

 

0
1 comment
Avatar
Nikolay Pianikov

Looks like a bug. I've created the issue https://github.com/JetBrains/teamcity-dotnet-plugin/issues/130

0

Please sign in to leave a comment.