summaryrefslogtreecommitdiffstats
path: root/tests/wrappers/fixtures/docker-custom-build-env002.xml
blob: 9a0bf4ad63a8332e36421256713d39fbda8856c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?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.DockerfileImageSelector">
        <contextPath>./docker</contextPath>
        <dockerfile>Dockerfile</dockerfile>
      </selector>
      <dockerInstallation>Custom Docker</dockerInstallation>
      <dockerHost plugin="docker-commons">
        <uri>tcp://127.0.0.1:1234</uri>
        <credentialsId>myCredentials</credentialsId>
      </dockerHost>
      <dockerRegistryCredentials>myRegistryCredentials</dockerRegistryCredentials>
      <volumes>
        <com.cloudbees.jenkins.plugins.okidocki.Volume>
          <hostPath>/hostJenkins</hostPath>
          <path>/jenkins</path>
        </com.cloudbees.jenkins.plugins.okidocki.Volume>
        <com.cloudbees.jenkins.plugins.okidocki.Volume>
          <hostPath>/my-volume</hostPath>
          <path>/my-volume</path>
        </com.cloudbees.jenkins.plugins.okidocki.Volume>
      </volumes>
      <forcePull>false</forcePull>
      <privileged>false</privileged>
      <verbose>false</verbose>
      <group/>
      <command>/bin/cat</command>
      <net>bridge</net>
      <memory/>
      <cpu/>
    </com.cloudbees.jenkins.plugins.okidocki.DockerBuildWrapper>
  </buildWrappers>
</project>