[libvirt] [PATCH jenkins-ci] Trigger rebuild of libvirt-go-xml when libvirt changes

Andrea Bolognani abologna at redhat.com
Wed Dec 6 12:03:52 UTC 2017


On Wed, 2017-12-06 at 10:18 +0000, Daniel P. Berrange wrote:
> Although the core code in libvirt-go-xml doesn't depend on libvirt, the test
> suite pulls in libvirt.git to validate XML parsing against all XML files found
> under libvirt.git/tests. We should thus have a dependancy in jenkins to trigger

*dependency

> rebuilds when libvirt changes.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  projects/libvirt-go-xml.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/projects/libvirt-go-xml.yaml b/projects/libvirt-go-xml.yaml
> index 3083b9f..126058b 100644
> --- a/projects/libvirt-go-xml.yaml
> +++ b/projects/libvirt-go-xml.yaml
> @@ -15,6 +15,6 @@
>        export TEST_ARGS="-tags xmlroundtrip"
>      jobs:
>        - go-build-job:
> -          parent_jobs:
> +          parent_jobs: 'libvirt-master-build'
>        - go-check-job:
>            parent_jobs: 'libvirt-go-xml-master-build'

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list