jenkins-job-builder/tests/wrappers/fixtures/docker-custom-build-env001.xml
tanhengyeow 55310657f0
docker-custom-build-env: Add support for new options
Change-Id: I9482d2e3c98cf8058d5689cd688b8cc489bbb016
Signed-off-by: Tan Heng Yeow <E0032242@u.nus.edu>
Signed-off-by: Anil Belur <askb23@gmail.com>
2018-09-21 18:38:31 +05:30

23 lines
837 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>
<memory>memory=L&lt;inf, memory-swap=inf</memory>
<cpu>2</cpu>
</com.cloudbees.jenkins.plugins.okidocki.DockerBuildWrapper>
</buildWrappers>
</project>