Dear devs,
It's been a while I'm using
Travis-CI.org as a CI tool for my projects.
And I thought why not using it with XWiki? So I investigate a bit with
xwiki/xwiki-commons [1].
If you don't want to read the details below, here is a resume. I would
push to keep Jenkins at this point (much more complete than Travis) but,
one killing-feature is missing (in my opinion): integration with Github
(display the result of a build in Pull Request is of great value when
evaluating a PR).
The following list is not exhaustive and is mainly about the most
important features I've noticed.
### Travis
# Benefit
* We don't maintain a server
* It's well-integrated with Github
* It builds Pull Requests
* It builds Branches
* UI is pretty nice (at least better than Jenkins, hey!)
# Drawbacks
* You cannot choose which branches you want to build (all or none)
* The UI is crashing often on Firefox (blocks the browser for few
seconds before Firefox propose to kill the script)
* You only have a raw log (meaning Travis cannot present information of
the log with a organised structure)
### Jenkins
# Benefits
* We already have it and it works
* It's specifically adapted for Java project (much much more details to
parse the result of the build logs)
* It can build branches
* It can build Pull Requests
# Drawbacks
* Consumes a lot of resources on our servers
* UI is not easy to browse (note that it show much more than Travis so
of course, it's more difficult to do an UI with more information!)
[1]
https://travis-ci.org/woshilapin/xwiki-commons/
--
Jean Simard
jean.simard(a)xwiki.com
Research engineer at XWiki SAS
http://www.xwiki.com
Committer on the
XWiki.org project
http://www.xwiki.org