Reputation: 37
I have a crazy idea to run integration tests (xUnit in .Net) in the Jenkins pipeline by using Docker Compose. The goal is to create testing environment ad-hoc and run integration tests form Jenkins (and Visual Studio) wthout using DBs etc. on physical server. In my previous project sometimes there was a case, when two builds override test data from the second build and I would like to avoid it.
The plan is the following:
I have no long experience with contenerization, so I cannot predict what problems can appear.
The questions are:
Thanks for all your suggestions.
Upvotes: 2
Views: 1601
Reputation: 1334
I'd say running a Jenkins on your local machine is rarelly worth it, you could just use docker locally with scripts (bash or WSL).
Upvotes: 1