jenkins-job-builder/tests/builders/fixtures/docker-builder002.xml

29 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<builders>
<com.cloudbees.dockerpublish.DockerBuilder plugin="docker-build-publish">
<repoName>test</repoName>
<repoTag>test-tag</repoTag>
<noCache>true</noCache>
<noForcePull>false</noForcePull>
<skipBuild>false</skipBuild>
<skipDecorate>false</skipDecorate>
<skipTagLatest>false</skipTagLatest>
<skipPush>false</skipPush>
<dockerfilePath>/tmp/</dockerfilePath>
<buildContext>/tmp/</buildContext>
<createFingerprint>true</createFingerprint>
<buildAdditionalArgs>--build-arg https_proxy=&quot;http://some.proxy:port&quot;</buildAdditionalArgs>
<forceTag>true</forceTag>
<server plugin="docker-commons">
<credentialsId>docker-server</credentialsId>
<uri>unix:///var/run/docker.sock</uri>
</server>
<registry plugin="docker-commons">
<credentialsId>registry-docker</credentialsId>
<url>https://registry.example.org</url>
</registry>
</com.cloudbees.dockerpublish.DockerBuilder>
</builders>
</project>