[libvirt] [PATCH jenkins-ci 00/19] Use jenkins-job-builder for CI

Daniel P. Berrange berrange at redhat.com
Thu Aug 4 14:52:09 UTC 2016

We are using the CentOS Jenkins server for running CI tasks.
Currently those tasks are maintained by people manually
updating the Jenkins web UI. This is a horrible interface
that requires 100's of mouse clicks to achieve even the
simplest things. It is also incredibly hard to compare
the config of different jobs to make sure they are working
in a consistent manner.

Fortunately there are tools which can help - OpenStack
created the jenkins-job-builder tool which uses the Jenkins
REST API to create/update jobs from a simple YAML file

This series thus creates a set of YAML files which will
(almost) replicate our current manually create config.

I've used jenkins-job-builder in offline test mode to
generate Jenkins XML files and then compared them to what
we currently have and they are mostly the same. So there
should not be too many suprises lurking, but I do still
expect some accidental breakage in places. As such I have
not actually uploaded the new auto-generated job configs
to ci.centos.org at this time.

The intention is that these configs will all live in the
libvirt GIT server in a new 'libvirt-jenkins-ci' repository

Daniel P. Berrange (19):
  jobs: add global default variables
  jobs: add a template for generic build process
  jobs: add a template for GNU autotools
  jobs: add a template for Python distutils
  jobs: add a template for Perl ExtUtils::MakeMaker
  jobs: add a template for Perl Module::Build
  projects: add the libvirt package
  projects: add the libvirt-python package
  projects: add the libvirt-perl package
  projects: add the libvirt-tck package
  projects: add the libvirt-glib package
  projects: add the libvirt-sandbox package
  projects: add the osinfo-db-tools package
  projects: add the osinfo-db package
  projects: add the libvirt-cim package
  projects: add the virt-viewer package
  projects: add the virt-manager package
  projects: add the libosinfo package
  Add README explaining how to use it

 README                        |  34 ++++++++
 jobs/autotools.yaml           | 198 ++++++++++++++++++++++++++++++++++++++++++
 jobs/defaults.yaml            |  11 +++
 jobs/generic.yaml             | 124 ++++++++++++++++++++++++++
 jobs/perl-makemaker.yaml      | 105 ++++++++++++++++++++++
 jobs/perl-modulebuild.yaml    | 104 ++++++++++++++++++++++
 jobs/python-distutils.yaml    |  99 +++++++++++++++++++++
 projects/libosinfo.yaml       |  20 +++++
 projects/libvirt-cim.yaml     |  24 +++++
 projects/libvirt-glib.yaml    |  20 +++++
 projects/libvirt-perl.yaml    |  18 ++++
 projects/libvirt-python.yaml  |  18 ++++
 projects/libvirt-sandbox.yaml |  19 ++++
 projects/libvirt-tck.yaml     |  16 ++++
 projects/libvirt.yaml         |  44 ++++++++++
 projects/osinfo-db-tools.yaml |  19 ++++
 projects/osinfo-db.yaml       |  24 +++++
 projects/virt-manager.yaml    |  19 ++++
 projects/virt-viewer.yaml     |  19 ++++
 19 files changed, 935 insertions(+)
 create mode 100644 README
 create mode 100644 jobs/autotools.yaml
 create mode 100644 jobs/defaults.yaml
 create mode 100644 jobs/generic.yaml
 create mode 100644 jobs/perl-makemaker.yaml
 create mode 100644 jobs/perl-modulebuild.yaml
 create mode 100644 jobs/python-distutils.yaml
 create mode 100644 projects/libosinfo.yaml
 create mode 100644 projects/libvirt-cim.yaml
 create mode 100644 projects/libvirt-glib.yaml
 create mode 100644 projects/libvirt-perl.yaml
 create mode 100644 projects/libvirt-python.yaml
 create mode 100644 projects/libvirt-sandbox.yaml
 create mode 100644 projects/libvirt-tck.yaml
 create mode 100644 projects/libvirt.yaml
 create mode 100644 projects/osinfo-db-tools.yaml
 create mode 100644 projects/osinfo-db.yaml
 create mode 100644 projects/virt-manager.yaml
 create mode 100644 projects/virt-viewer.yaml


More information about the libvir-list mailing list