![](https://seccdn.libravatar.org/avatar/14a81e57151e2ecfcf51daec32e76318.jpg?s=120&d=mm&r=g)
Hi zypp developers,
You might have seen some eMails with a strange subject
"[CruiseControl] libzypp-something build failed" on
zypp-commit@opensuse.org.
So here is the explanation:
I set up a CruiseControl server for libzypp. CruiseControl is a
service that regularly checks the SVN repository (currently 2 minutes)
for new checkins and in case of a change rebuilds the project.
If the build fails, CruiseControl sends a notification eMail to
zypp-commit@opensuse.org.
This should lead to "Continuos Integration"[1].
Sorry to all external people - the following is only available
internally!
SUSE-internal developers can also monitor the build status and request
rebuilds via a web interface:
http://cit32.suse.de:3333/
You may also add your own project to CruiseControl and let it rebuild
on every svn checkin.
Connect to the machine via SSH as user "ccrb" (default password).
Go to the directory /CI/ccrb .
Use the folling command to add a new project:
$ ./cruise add project-name -u http://svn.somewhere.org/project-name
Eg. this command adds the refactoring branch of libzypp to
CruiseControl (this branch is unused now - so please do not add it):
$ ./cruise add libzypp-refactoring-10_3 -u
http://svn.opensuse.org/svn/zypp/branches/REFACTORING-10_3/libzypp
Your new project is located at:
/CI/ccrb/projects/project-name
In there open the file cruise_config.rb and change it according to
your needs. If the build process requires a script also provide it in
the same directory.
Find example configurations in /CI/config_examples.
Please note: The machine is a VMware machine - so please use icecream
to build your projects.
Please send any questions and recommendations to me.
[1] http://www.martinfowler.com/articles/continuousIntegration.html
Ciao,
Daniel
--
J. Daniel Schmidt