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

Tue May 19 12:36:53 UTC 2015
Fabian Arrotin <arrfab at centos.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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)

- -- 

Fabian Arrotin
The CentOS Project | http://www.centos.org
gpg key: 56BEC54E | twitter: @arrfab
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlVbLmUACgkQnVkHo1a+xU4GbACeLuldVv3luWS2njOz+Vm9m5p3
nnUAn2VHVSTrXoXutcbiRV8n5UnQGXqk
=REfJ
-----END PGP SIGNATURE-----