[libvirt] [jenkins-ci PATCH v2 3/6] projects: Add libvirt-master-website job

Andrea Bolognani abologna at redhat.com
Tue Apr 17 13:57:04 UTC 2018


On Tue, 2018-04-17 at 14:33 +0100, Daniel P. Berrangé wrote:
> Instead just change the templates from doing
> 
>     name: '{name}-{branch}-build'
> 
> to
> 
>     name: '{name}-{branch}-build{jobsuffix}'
> 
> Then the website job can just set
> 
>    jobsuffix: website
> 
> and everything else can leave it unset

This one I like better :)

We could go one further and use

  name: '{name}-{branch}-build{variant}'

for the generic-build-job template and

  variant: +website

for this specific job, then change the autotools-mingw-job
template to use

  name: '{name}-{branch}-build+mingw'

to align the job names with the project names at the Ansible
level.

We could then even think about dropping autotools-mingw-job
altogether and instead use generic-build-job there as well,
like

  - project:
      name: libvirt
      jobs:
        - generic-build-job:
            variant: +mingw
            command: '{mingw_build}'

where 'mingw_build' would be defined globally.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list