f22d7b89eb
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
20 lines
549 B
YAML
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
|