JetBrains / teamcity-docker-agent

TeamCity agent docker image sources
https://hub.docker.com/r/jetbrains/teamcity-agent/
Apache License 2.0
77 stars 64 forks source link

Can we run tests on containers in build agent by installing Docker in teamcity build agent #55

Closed Elangopalakrishnan closed 2 years ago

Elangopalakrishnan commented 5 years ago

I'm using teamcity for running automated specflow tests in build agent, I saw that runner type - Docker and Docker Compose. Can we run tests on containers in build agent by installing Docker in teamcity build agent. How to run the same tests in docker container in teamcity. Any option available in teamcity? please advice?

Thanks!

kir commented 5 years ago

Hi,

You can definitely run your tests in docker if you install docker on build agents.

You can use Docker Compose runner, generic Docker command runner , and also docker wrapper, which can run .NET builds as well.

Hope this helps,

Elangopalakrishnan commented 5 years ago

@kir Thanks, Will try and let you know :)