Reputation: 899
We've set up a few TeamCity agents to support containers and thus the Container Wrapper extension. We've been directed to use containers rather than install things on the agents directly. For most things this is fine.
I'm trying to add SonarScanner to a configuration/build for a .NET solution. SonarScanner is a long-running process that is started by calling its begin command, then doing your build and test steps, then calling its end command. Because the Container Wrapper extension creates a new container for each build step, I can't execute SonarScanner and keep it running so it can do its work.
How can I get SonarScanner to scan my project assuming the Architecture is fixed?
Upvotes: 0
Views: 35