Add support for the Jenkins Docker Plugin's..
..job configurations. Change-Id: Id29d6e877830e43ca06dde367fc3ca93c85866b6
This commit is contained in:
11
tests/properties/fixtures/docker-container-full.xml
Normal file
11
tests/properties/fixtures/docker-container-full.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<project>
|
||||
<properties>
|
||||
<com.nirima.jenkins.plugins.docker.DockerJobProperty>
|
||||
<tagOnCompletion>true</tagOnCompletion>
|
||||
<additionalTag>latest</additionalTag>
|
||||
<pushOnSuccess>true</pushOnSuccess>
|
||||
<cleanImages>true</cleanImages>
|
||||
</com.nirima.jenkins.plugins.docker.DockerJobProperty>
|
||||
</properties>
|
||||
</project>
|
||||
6
tests/properties/fixtures/docker-container-full.yaml
Normal file
6
tests/properties/fixtures/docker-container-full.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
properties:
|
||||
- docker-container:
|
||||
commit-on-success: true
|
||||
additional-tag: latest
|
||||
push-on-success: true
|
||||
clean-local-images: true
|
||||
11
tests/properties/fixtures/docker-container-minimal.xml
Normal file
11
tests/properties/fixtures/docker-container-minimal.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<project>
|
||||
<properties>
|
||||
<com.nirima.jenkins.plugins.docker.DockerJobProperty>
|
||||
<tagOnCompletion>false</tagOnCompletion>
|
||||
<additionalTag/>
|
||||
<pushOnSuccess>false</pushOnSuccess>
|
||||
<cleanImages>true</cleanImages>
|
||||
</com.nirima.jenkins.plugins.docker.DockerJobProperty>
|
||||
</properties>
|
||||
</project>
|
||||
2
tests/properties/fixtures/docker-container-minimal.yaml
Normal file
2
tests/properties/fixtures/docker-container-minimal.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
properties:
|
||||
- docker-container
|
||||
11
tests/properties/fixtures/docker-container-nondefault.xml
Normal file
11
tests/properties/fixtures/docker-container-nondefault.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<project>
|
||||
<properties>
|
||||
<com.nirima.jenkins.plugins.docker.DockerJobProperty>
|
||||
<tagOnCompletion>true</tagOnCompletion>
|
||||
<additionalTag>my-hands-are-typing-words</additionalTag>
|
||||
<pushOnSuccess>true</pushOnSuccess>
|
||||
<cleanImages>false</cleanImages>
|
||||
</com.nirima.jenkins.plugins.docker.DockerJobProperty>
|
||||
</properties>
|
||||
</project>
|
||||
@@ -0,0 +1,6 @@
|
||||
properties:
|
||||
- docker-container:
|
||||
commit-on-success: true
|
||||
additional-tag: my-hands-are-typing-words
|
||||
push-on-success: true
|
||||
clean-local-images: false
|
||||
Reference in New Issue
Block a user