Ocaramba icon indicating copy to clipboard operation
Ocaramba copied to clipboard

reference to teamcity found in logs

Open MikeWilliams-UK opened this issue 1 year ago • 2 comments

We are using Azure Devops pipelines. Why do the logs show a reference to teamcity

2022-09-22 11:40:08.2315|Error|Ocaramba.DriverContext.SaveScreenshot|Test failed: screenshot saved to C:\***\SmokeTests\bin\Release\net6.0\TestOutput\***_2022_09_22_11_40_06_186_browser.png.
 ##teamcity[publishArtifacts 'C:\***\SmokeTests\bin\Release\net6.0\TestOutput\***_2022_09_22_11_40_06_186_browser.png']

MikeWilliams-UK avatar Sep 22 '22 09:09 MikeWilliams-UK

if you run test in teamcity you can: image On Azure Devops that log do nothing, you can ignore it.

raczeja avatar Sep 22 '22 16:09 raczeja

My point here is that as we are NOT using team city, there should NOT be any reference to it in the logs emitted by your code.

Please remove the hard coded reference to teamcity in the string and replace with a more generic one.

MikeWilliams-UK avatar Sep 22 '22 18:09 MikeWilliams-UK