jenkins-job-builder/tests/yamlparser/fixtures
Darragh Bailey 3e3996d32a Use yaml local tags to support including files
Add support for local tags which are application specific to allow
including of other yaml files or code from scripts. Allows for code to
be maintained and tested as seperate files, as well as reduces
duplication of yaml code that cannot be macro'ed or easily templated by
including it from a common file.

Adds support for the following tags:
  'include' - load file as yaml code
  'include-raw' - load file as data (for scripts)
  'include-raw-escaped' - load file as data with escaping braces '{}'
      as default for use with job-templates

Use configuration file options to provide a search path for the files.

- Test behaviour of yaml tags independent of any XML generation
  by comparing json result of yaml parsing to verify that certain
  tags do/don't recall the yaml.load() method.
- Add examples for the include tags via addition tests for YamlParser
  class

Inspired by
http://stackoverflow.com/questions/528281/how-can-i-include-an-yaml-file-inside-another

Change-Id: Ib90a07043112d4739d6529ceddbc9817668bcec0
2014-06-20 23:16:23 +01:00
..
add_managed_to_desc.xml Added config options to not overwrite jobs desc 2014-04-09 23:29:14 +01:00
add_managed_to_desc.yaml Added config options to not overwrite jobs desc 2014-04-09 23:29:14 +01:00
complete001.xml Add support for triggering on unreviewed patches 2014-05-12 06:59:20 +00:00
complete001.yaml Added config options to not overwrite jobs desc 2014-04-09 23:29:14 +01:00
custom_distri.xml use {obj:key} as a way to pass an object and not only strings to templates 2014-03-16 15:30:48 +01:00
custom_distri.yaml use {obj:key} as a way to pass an object and not only strings to templates 2014-03-16 15:30:48 +01:00
dont_overwrite_desc.conf Added config options to not overwrite jobs desc 2014-04-09 23:29:14 +01:00
dont_overwrite_desc.xml Added config options to not overwrite jobs desc 2014-04-09 23:29:14 +01:00
dont_overwrite_desc.yaml Added config options to not overwrite jobs desc 2014-04-09 23:29:14 +01:00
include-raw-escape001-echo-vars.sh Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include-raw-escape001.conf Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include-raw-escape001.xml Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include-raw-escape001.yaml Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include-raw001.xml Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include-raw001.yaml Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include-raw002-cool.sh Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include-raw002-cool.zsh Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include-raw002.xml Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include-raw002.yaml Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include001.xml Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include001.yaml Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include001.yaml.inc Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
scm_remote_deep_bug.xml Fix recursion depth error caused by Git-remotes 2014-05-02 12:39:58 +02:00
scm_remote_deep_bug.yaml Test creation of multiple jobs from templates 2014-05-10 22:21:06 +01:00
templates001.xml Test creation of multiple jobs from templates 2014-05-10 22:21:06 +01:00
templates001.yaml Test creation of multiple jobs from templates 2014-05-10 22:21:06 +01:00
templates002.xml Support variable-specific substitutions in templates. 2014-05-12 15:03:10 +00:00
templates002.yaml Support variable-specific substitutions in templates. 2014-05-12 15:03:10 +00:00