Mailinglist Archive: yast-devel (79 mails)

< Previous Next >
Re: [yast-devel] Yast CI jobs switched to webhooks
Dne 7.3.2016 v 10:00 Ladislav Slezak napsal(a):

Hi all,

I have switched all yast-*-master jobs at https://ci.opensuse.org to use
github
webhooks instead of active polling.


BTW if you are interested in scripting GitHub and Jenkins access
check the script [1] which I used for adding webhooks at GitHub and
reconfiguring the Jenkins jobs.

It uses "octokit" Rubygem for accessing GitHub API and "jenkins_api_client"
gem for Jenkins. And for parsing/modifying the job config in XML format
it uses REXML.


BTW could we create a separate "yast" Git repo for such scripts? IMHO (ab)using
yast2-devtools is not a good idea...



[1] https://github.com/lslezak/scripts/blob/master/github/create_hooks.rb


--

Ladislav Slez√°k
Appliance department / YaST Developer
Lihovarsk√° 1060/12
190 00 Prague 9 / Czech Republic
tel: +420 284 028 960
lslezak@xxxxxxxx
SUSE
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References