Allow custom settings configs for maven projects

Allow custom settings & global-settings config files to be configured
for maven projects.

In addition, the previously defined empty nodes for these configurations
were misnamed and this corrects that as well.

This change also switches to using an included test as an example.

Change-Id: I9f832f498e358268b3896ead3a78462e408bdd9d
Signed-off-by: Andrew Grimberg <grimbeaj@gmail.com>
Zuul parameter ZUUL_URL

Zuul 2.0 passes to jobs an additional parameter ZUUL_URL which instructs
workers from where to clone repositories.

This is NOT the same as the zuul-url defined by Jenkins Job Builder
which is the notification endpoint set on the jobs and is unrelated.

Change-Id: I4924a5b7ae99571efd70eeb188ddd3d821a4c61b
add timeout-var option to the timeout module

jenkins build-timeout plugin version 1.13 has a new option[1] to expose the
timeout value via an environment variable.  Adding this option to the
equivalent jjb module.  Also created tests for the examples.

[1] https://github.com/jenkinsci/build-timeout-plugin/pull/22

Partial-Bug: #1287883
Change-Id: Ia0d6570e9aae55ceadf076716fc8ad7688ff6214
Fail if specified set of defaults is not found.

Change-Id: I1c764d5585249b28bd25f775abee2734e96b1640
Merge "add timeout-var option to the timeout module"
Update authorship information

It's been quite some time since the author of the entire package
has been HP. Update the setup metadata to reflect this.

Change-Id: I239246eb1ac0ca659d1a118a0e009ab224bc6758
Catch EPIPE exception and return

Otherwise you get a traceback if you pipe `jenkins-jobs` to the UNIX
`head` command.

Change-Id: If83fd5b9f4aacd031e9ab0c35d61cc6d57542be9
add support for python builder

Change-Id: I0b1711c04435287bb851a72df25ebba10c891831
add tests for shell builder

Change-Id: I37350e7e813db173e033bd4131e62be77ab9753a
Add some more Trove classifiers

Change-Id: I803813de2980f8ca484710fecc1c6674b7497206
Merge "Update authorship information"
Merge "Add some more Trove classifiers"
Merge "add tests for shell builder"
Add more tests

Change-Id: Ie0e0e3906edaa278805917e6303b1d5f1daba864
Treat ignore_cache as a boolean

When ignore_cache was loaded from the config file (including the
default config) it was treated as a string, which evaluates to
true in boolean expressions.  Therefore, unless ignore_cache was
set on the command line, it would always behave as if true.

Fix by asking configparser for a boolean value.

Change-Id: I63af8637671248fc1a6895d1eb82f1c2e24ce5c2
Add additional yaml/xml tests, literalinclude them

instead of using inline examples in docstrings. With literalinclude, we
know the examples are tested.

Change-Id: I95fbb4726bd6731d9687d09a3d6e7d4e5a445131
Fix "delete-all"

It was broken by 14ed8b12, resulting in:

    $ jenkins-jobs delete-all
    Traceback (most recent call last):
      File "/Users/marca/python/virtualenvs/jenkins-job-builder/bin/jenkins-jobs", line 10, in <module>
        sys.exit(main())
      File "/Users/marca/dev/git-repos/jenkins-job-builder/jenkins_jobs/cmd.py", line 143, in main
        if options.path == sys.stdin:
    AttributeError: 'Namespace' object has no attribute 'path'

Change-Id: I42a3ef9f3cfca7b4667498009351e0027aa316d7
Doc: Use VersionInfo from pbr and remove openstack common modules

The setup was migrated to pbr in d2ff8c0, but the documentation
build is still using VersionInfo from a bundled version of the
openstack common modules.

Migrate the documentation build to use VersionInfo from pbr, and
remove the no-longer-used common modules.

Change-Id: I7dcd5b0328613c7c72efa2df8c26d9c9b1d47c0f
Tiny spelling fix: YMAL -> YAML

Change-Id: Ic37d764cc7b23759202d47d338af22c0ea25f080
Merge "Add more tests"