[CentOS-devel] adding jenkins triggers from cbs build runs

Karanbir Singh mail-lists at karan.org
Tue May 19 12:51:39 UTC 2015


On 19/05/15 13:36, Fabian Arrotin wrote:
> On 19/05/15 14:30, Karanbir Singh wrote:
>> hi,
> 
>> Is there anyway to add jenkins job triggers based on new package
>> builds from cbs.centos.org ? I thought it might be just as simple
>> as tracking the repomd.xml file under
>> cbs.centos.org/repos/<intended repo>/os/repodata - but that file is
>> redone every hour, regardless of new builds or not.
> 
>> is there another way to track these ? rather than having to write a
>> koji plugin ?
> 
> 
> If you want to track specific packages (to trigger specific jobs in
> Jenkins) , why not verifying the md5sum/sha256sum of those packages,
> compare with previous ones (from last check) and then trigger a
> jenkins build if not equal ?
> Don't know if koji has such plugin to itself do an action (that could
> be the trigger for jenkins)

not packages, tracking the repo for new packages or updates to existing
ones.

-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
GnuPG Key : http://www.karan.org/publickey.asc


More information about the CentOS-devel mailing list