Thứ Sáu, 24 tháng 5, 2013

Continuous Integration Tools

http://en.wikipedia.org/wiki/Continuous_integration

1. jenkins - http://jenkins-ci.org/

2. hudson - http://hudson-ci.org/

3. Bamboo - http://www.atlassian.com/software/bamboo/overview
document : https://confluence.atlassian.com/display/BAMBOO/agent


Compare: http://en.wikipedia.org/wiki/Comparison_of_continuous_integration_software
https://wiki.jenkins-ci.org/pages/viewpage.action?pageId=53608972
http://bobbickel.blogspot.com/2011/03/jenkins-vs-hudson-time-to-upgrade.html

Bamboo and Jenkins

When considering Continuous Integration (CI) for your project, you have to think of tools that are readily available out there. Few such names that comes to our attention are Jenkins (Hudson), Bamboo, etc that are widely used by some of the major companies in the world. Recently I was involved with trying out Bamboo and Jenkins. Jenkins is an open source CI tool written in Java with more than 400 plugins available to extend its use. Bamboo is a commercial product from atlassian. It also has multiple plugins to customize its usage. Further we can also extend the functionality of both the above products by writing our own plugins using the SDK’s provided.

Both Jenkins and Bamboo supports multiple build tools that are available today, such as Maven, Ant, Make etc. Bamboo has support for both Maven2 and Maven3. Also we can run multiple projects builds with different version of Maven at the same time. Jenkins also has the same support where we also can specify different local maven repositories for different builds. This is a major advantage that these tools provide. Another point to note that we just have to give the source repository location of project when creating a new build (both the tools use different term for a new build, Bamboo – PLAN, Jenkins – JOB), then the CI tool will fetch the source files. Both these tools support almost every VCS available, such as Git, Subversion, etc. We can also specify some additional parameters when defining a new build, such as java heap memory, maven optional parameters (MVN_OPTS), so that we can allocate and fulfill the requirements.

We have to specify the goal for a build, such as maven or ant goal for each build. These tools allows to add multiple post build actions. So when a build fails or succeeds we can define what should take place, such as run tests, process test reports, code coverage reports and data visualization documents. This allows to create a pipeline structure for your build so we can break the build process into multiple steps which will makes the process easy to monitor.
We can setup these systems to send mails automatically, so that we can find out what is the status for each build. Bamboo even allows to integrate both way instant messaging so that we can instantly monitor the build.

Bamboo has a nice UI compared to Jenkins, but moreover both these tools provide almost same functionality and there are no any major deference in these tools. Some advantages that we can find is that since Bamboo is an atlassian product, the integration of JIRA issue tracker and Clover, the code coverage tool, becomes easy with bamboo. Jenkins has a set plugins to create dashboard like view for each of your build. We can add several gadgets to this dashboard which can show the statistics of a particular build or aggregated for all the builds.
Finally on my point of view, both these tools are same when comparing each other on functionality wise. The choice will depend on the need and the requirements at hand.



Không có nhận xét nào:

Đăng nhận xét

Học lập trình web căn bản với PHP

Bài 1: Các kiến thức căn bản Part 1:  https://jimmyvan88.blogspot.com/2012/05/can-ban-lap-trinh-web-voi-php-bai-1-cac.html Part 2:  https://...