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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux