Re: [libvirt] [jenkins-ci PATCH 2/2] jobs: Switch to github webhook instead of polling

2018-06-21 Thread Pavel Hrdina
On Thu, Jun 21, 2018 at 02:50:49PM +0100, Daniel P. Berrangé wrote: > On Thu, Jun 21, 2018 at 03:37:49PM +0200, Andrea Bolognani wrote: > > On Thu, 2018-06-21 at 14:21 +0200, Pavel Hrdina wrote: > > [...] > > > @@ -31,8 +31,7 @@ > > > triggers: > > >- reverse: > > >jobs:

Re: [libvirt] [jenkins-ci PATCH 2/2] jobs: Switch to github webhook instead of polling

2018-06-21 Thread Daniel P . Berrangé
On Thu, Jun 21, 2018 at 03:37:49PM +0200, Andrea Bolognani wrote: > On Thu, 2018-06-21 at 14:21 +0200, Pavel Hrdina wrote: > [...] > > @@ -31,8 +31,7 @@ > > triggers: > >- reverse: > >jobs: '{obj:parent_jobs}' > > - - pollscm: > > - cron: "H/20 * * * *" > > +

Re: [libvirt] [jenkins-ci PATCH 2/2] jobs: Switch to github webhook instead of polling

2018-06-21 Thread Andrea Bolognani
On Thu, 2018-06-21 at 14:21 +0200, Pavel Hrdina wrote: [...] > @@ -31,8 +31,7 @@ > triggers: >- reverse: >jobs: '{obj:parent_jobs}' > - - pollscm: > - cron: "H/20 * * * *" > + - github As noted in the review for the previous patch libosinfo:

[libvirt] [jenkins-ci PATCH 2/2] jobs: Switch to github webhook instead of polling

2018-06-21 Thread Pavel Hrdina
If we use github as the remote repository we can take advantage of github webhooks in order to trigger our Jobs instead of blind polling. CentOS CI provides that option [1]. [1] Signed-off-by: Pavel Hrdina --- jobs/autotools.yaml| 3 +--