jenkins-job-builder/tests/publishers/fixtures/clone-workspace002.yaml
tanhengyeow 9ab35beae8 Refactor clone_workspace function to use convert_mapping_to_xml
1. Refactored the code in the function to utilize convert_mapping_to_xml's
way of detecting valid types.
2. Refactored optional parameters to use convert_mapping_to_xml

Note:
This update will affect users using lowercase inputs in their YAML files.
An exception will be raised if the inputs doesn't follow the exact
casing required by the plugin.

Change-Id: I053ef5f58200e51b3f6ff5ec55760f9e6f095370
2018-07-13 22:56:12 +08:00

8 lines
196 B
YAML

publishers:
- clone-workspace:
criteria: "Any"
archive-method: "TAR"
override-default-excludes: false
workspace-glob: "**/*.zip"
workspace-exclude-glob: "**/*.tgz"