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
[email protected]
SUSE
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to