jenkins-job-builder/tests/wrappers/fixtures/docker-custom-build-env002.yaml
Timon Wong f22d7b89eb Add Docker Custom Build Environment Plugin support
This build wrapper uses the "Cloudbees Docker Custom Build Environment
plugin". It allows to define build environment using either a Dockerfile
stored in project SCM, or a docker image from docker registry directly.

Change-Id: I11f94a10b8a06bd4aa61a817c21a1ee1dd885072
2016-01-21 23:27:51 +00:00

20 lines
549 B
YAML

wrappers:
- docker-custom-build-env:
image-type: 'dockerfile'
context-path: './docker'
dockerfile: 'Dockerfile'
docker-tool: 'Custom Docker'
host: 'tcp://127.0.0.1:1234'
credentials-id: 'myCredentials'
registry-credentials-id: 'myRegistryCredentials'
volumes:
- volume:
host-path: '/hostJenkins'
path: '/jenkins'
- volume:
host-path: '/my-volume'
path: '/my-volume'
force-pull: false
privileged: false
verbose: false