Patch writexml for non standard XML DOM implementations

PyXML will replace the default DOM implementation and as a result, it
will reintroduce the broken writexml method that was present with python
versions before 2.7

Change-Id: I8847c344df2f7b2d76291a24cdb8e1a436ac87ec
Fixed referenced before assignment in zuul module

It was using a non-defined url variable and failed to me when running a
simple jenkins-jobs test -o ../outdir .

Change-Id: I56e6376de4972ea0f64bd8c81d6eb6d8f7f6d497
Signed-off-by: David Caro <dcaroest@redhat.com>
removed job configuration duplication in docs

The same job definition and examples were in both general.rst and
configuration.rst.  Moved the contents of general to configuration.

Change-Id: Iefdf1b6ac3b9679a8af4451710442bf58054d790
Fix a broken include in the configuration documentation.

Change-Id: I803caea42365e44851068e510d5e698447aad73b
add presend-script to email-ext

Change-Id: I388dd2f5ce8aa6ac323f73409dec1003a3f423cb
refactor cmd processor to make it slightly easier to test

* make logger global
* create methods for setting up of parser and jjb configuration.

Change-Id: Ia8d16e74e8a1097a013512fb624f032b1d085d17
Consistency updates in documentation

Change-Id: I0096348488371c37c0ba645f0bd3d385975ef7d2
Make 'keep_descriptions' fully optional

Avoid the need to set the keep_descriptions option under the job_builder
section if providing any configuration options.

Change-Id: I0436a36e9f5ad7ff68ff5b92868ca1b13d019f11
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
Fix ant builder definition in complete test

Change-Id: I8f6041c0aa2b7a24d2dc8ed73b2719c332b869e6
Merge "add presend-script to email-ext"
Merge "Make 'keep_descriptions' fully optional"
Merge "Use yaml local tags to support including files"
Merge "Fixed referenced before assignment in zuul module"
Merge "Fix a broken include in the configuration documentation."
Merge "Patch writexml for non standard XML DOM implementations"
multijob: added kill-phase-on option

this option allows terminate job phase on specific status of job

Change-Id: I5984fb2494120afc97140c1ae38635301e8f1376
Signed-off-by: Lukas Bednar <lbednar@redhat.com>
Merge "removed job configuration duplication in docs"
Allow using template variables in "defaults" field.

Change-Id: I876ab7fa61258e84b00a67325aeb9234aff8fa62
Merge "refactor cmd processor to make it slightly easier to test"