Running Jenkins tests in Docker containers build from dockerfile in codebase
I want to deploy a continuous integration platform based on Jenkins. As I have various kinds of projects (PHP / Symfony, node, angular, …) and as I want these tests to run both locally and on Jenkins, I was thinking about using Dockers containers. The process I’m aiming for is : A merge request is opened on Github / Gitlab A webhook notifies Jenkins of the merge request Jenkins pulls the repo, builds the containers and runs a shell script to execute the tests Once the tests are finished, Jenkins retrieves the results from one of the containers (through a shared volume) and process the results.