I currently create containers using the docker.yml file by passing the docker-compose -f docker.yml up in the command prompt. I want to emulate the same thing in jenkins, that is without manually typing the command I want when the jenkin job starts -
- Start the Containers
- Once the task is complete, remove the containers
I did find a plugin https://plugins.jenkins.io/docker-compose-build-step/ but not sure if this is the right now.