jenkins-job-builder/tests/builders/fixtures/docker-builder002.xml
tanhengyeow 3c3028f5b8 docker-build-publish: Improve support for new options
Change-Id: I316989cc736bb4ffb6152c68e4b3ff598b4274db
Signed-off-by: Tan Heng Yeow <E0032242@u.nus.edu>
2018-09-10 01:57:31 +08:00

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>