Plugin Information |
---|
View Docker Compose Build Step on the plugin site for more information. |
Use Custom Docker Compose File
The Use Custom Docker Compose File option is available on all Docker Compose build steps and is used to select a compose file other than the default ($WORKSPACE/docker-compose.yml). This option supports both absolute and relative paths.
Start/Stop Services
In the case of the Start service step, use the Scale option to spin up more than one running instance of a service.
Execute Command Inside Running Container
Use the Container Index option to select the instance where you want to run the command.
If the Working Directory is left empty, the plugin will use the default one for the container.
Pipeline Support
Use the Snippet Generator to generate a Docker Compose Build step "metastep" for a scripted pipeline.
Attachments:
docker-compose-jenkins.jpg (image/jpeg)
docker-freestyle_Config__Jenkins_.png (image/png)
docker-freestyle_Config__Jenkins_ 2.png (image/png)
docker_compose_build_step_pipeline_metastep.png (image/png)