Fail if specified set of defaults is not found.

Change-Id: I1c764d5585249b28bd25f775abee2734e96b1640
Refactor the `matches` function

- Clearer parameter names and doc string
- Use fnmatch.fnmatch instead of re.match and fnmatch.translate
- Use `any` to make code more succint.

Change-Id: Id22aef35554c2a3428874f956c54baae3ea662fe
Test creation of multiple jobs from templates

Concatenate each job XML created from the parsed yaml when using the
YamlParser class for testing. Ensures that multiple jobs created from a
single yaml file can be tested.

Remove erroneous multiple job from scm_remote_deep_bug test.

Change-Id: I2732a7303fefff1f321a1a5b7eef9144d168e39a
Add support for triggering on unreviewed patches

Since version 2.11.0 the Gerrit Trigger Plugin can be configured to
generate patchset-created events for changes that were uploaded while
the connection to Gerrit was down.

Change-Id: I59608e4f01355944fed9e44b288fc25a897950c7
Support variable-specific substitutions in templates.

Change-Id: I6af84f48eaa4ee44c8d8babddd8d10a1e1095101
Fix typo: sigleton => singleton

Change-Id: I7ef7b73b22d722663b4fa5dcd0d79db2a4ca24e4
Merge "Refactor the `matches` function"
Merge "Fix typo: sigleton => singleton"
Merge "Add support for triggering on unreviewed patches"
add overview info to pypi

pypi is not showing info from README.rst. This change adds a reference to the readme
so that it will appear on pypi.org upon a release of jjb.

Change-Id: I13b8d003d358bc1398058bbdbb5bb984ead2679b
Merge "Test creation of multiple jobs from templates"
Merge "add overview info to pypi"
update URL references to project.

github.com/openstack-ci was moved to github.com/openstack-infra
homepage references should point to git.o.o/cgit/openstack-infra

This change updates the above references accordingly.

Change-Id: I4d3591f228b10de050a129ae7af99485f50edab5
scms: MultiSCM is generated for scms hidden in macro

This patch fixes problem with generating MultiSCM in case that scms are
encapsulated in macro.
This patch includes simple tests to cover if-branches for this change.

Example:

- scm:
  name: xxx
  scm:
    - git: ...

- scm:
  name: yyy
  scm:
    - git: ...

- scm:
  name: xxx-and-yyy
  scm:
    - xxx
    - yyy

- job:
  name: my-job
  scm:
    - xxx-and-yyy

Change-Id: If3e7b3d19e51545a5623ee060fb7673a7a989233
Signed-off-by: Lukas Bednar <lbednar@redhat.com>
Closes-bug: #1285515
Add tox "coverage" target

Change-Id: I577d62e016a550ea30671837a0a426165984e982
Merge "Fail if specified set of defaults is not found."
Merge "Add tox "coverage" target"
reference tests as examples

Remove samples and reference the tests as examples instead.

We don't need these samples for two reasons:
1. It is already duplicated in either JJB tests or documentation.
2. We don't test these samples so they may become outdated (some already have).

Change-Id: If1ba6cc8a675091e740fa254951bb8fcbcee6903
authorization property: add extended read support

This authorization requires the extended read permission plugin:
https://wiki.jenkins-ci.org/display/JENKINS/Extended+Read+Permission+Plugin

Include test for the authorization properties.

Change-Id: I9364524398f4e3f0d6ccccd88d5046e7504e2123
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Merge "update URL references to project."