Mailinglist Archive: yast-devel (59 mails)

< Previous Next >
[yast-devel] Checking the Git status in the Jenkins jobs regularly

Hi all,

currently we use GitHub web hooks for triggering the build jobs at the public
server (

The advantage is that the web hook is triggered immediately, polling is usually
in 5 minutes (or so) intervals. And also polling happens always but I guess in
cases there is no change in the Git repository.

The disadvantage of the web hooks is that if the notification is for any reason
(Jenkins down, network issues,...) then the build is not automatically triggered
later again.

That's not a big problem for packages we touch often (several times a week),
but some
less maintained packages receive updates like twice a year or even less. And a
notification would be really bad in that case.

So my proposal is to besides using web hooks to also set some polling interval
additionally check the Git repo states unconditionally in some regular

What about scheduling a poll in all jobs once a day? Ideally during night so it
not interfere with our work if there is some missing build.

Originally I wanted to run it once a week but as Jenkins checks whether there
is a
change in the Git repo and skips the already built commits it is safe to run it

Any comments, ideas?

If nobody is against I'd update all YaST jobs by a script globally.

(Note: This is only about the public Jenkins, the internal Jenkins already uses
polling as the only trigger because it is not reachable from outside and web
cannot be sent there.)

Ladislav Slezák
YaST Developer

SUSE LINUX, s.r.o.
Corso IIa
Křižíkova 148/34
18600 Praha 8
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups