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
21 lines
762 B
XML
21 lines
762 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<buildWrappers>
|
|
<com.cloudbees.jenkins.plugins.okidocki.DockerBuildWrapper plugin="docker-custom-build-environment">
|
|
<selector class="com.cloudbees.jenkins.plugins.okidocki.PullDockerImageSelector">
|
|
<image>centos:7</image>
|
|
</selector>
|
|
<dockerInstallation>Default</dockerInstallation>
|
|
<dockerHost plugin="docker-commons"/>
|
|
<dockerRegistryCredentials/>
|
|
<volumes class="empty-list"/>
|
|
<forcePull>true</forcePull>
|
|
<privileged>true</privileged>
|
|
<verbose>true</verbose>
|
|
<group>jenkins</group>
|
|
<command>/bin/cat</command>
|
|
<net>bridge</net>
|
|
</com.cloudbees.jenkins.plugins.okidocki.DockerBuildWrapper>
|
|
</buildWrappers>
|
|
</project>
|