Hudson

I had tow motivations of getting rid of the All view

  1. The All view is quite annoying don't you think? After using Hudson for a while you have tens/hundreds of jobs lined up in a huge list - who needs that right.
  2. I wanted a "hidden jobs section" - Jobs no one but myself (and who ever needs access to it) can see.

 

In order to get rid of it (the All view) simply:

hagzag 01/09/2010 - 11:09

As a big fan of hudson-ci I would like to take a note of the most commonly used hudson plug-ins (at least by me) needed in order to maintain a good build environment.

This list was collected as part of my experience in the last couple of years. I am sure your may differ then mine mine :).

 

Setenv plugin

hagzag 27/08/2010 - 16:30

Background:

In one of my previous projects I was asked to setup the environment / automate integration tests (Referred to as Itest from now on) which required a machine with 2 CPU's & 5 GB RAM, this means that in any case a developer wishing to run Itests will never be able to run them locally, and will have to use some existing server.

 

The problem with my previous statement is that the developer, whilst checking his tests will be busy most of the time preparing his Itest environment, rather then checking the integrity of his tests, need I say that the fact we need 2 CPU's & 5GB RAM means the server takes time to load and only once it is up you can start testing.

 

hagzag 06/12/2009 - 07:39

A neat addition to your Hudson Continues Integration server, is the Hudson Backup plug-in.

If you are during a major change in your build configuration, backup your configurations and you can restore from the backup when / if needed.

It is just much more elegant then copying those XML file's and editing them by hand when in comes to restoring your configuration... believe me I've been there ... (tested with Hudson 1.327 and 1.335 which is one release since the latest).

hagzag 26/11/2009 - 10:48

Sonar enables you to collect, analyze and report metrics on source code.

Sonar not only offers consolidated reporting on and across projects throughout time, but it becomes the central place to manage code quality.

Sonar currently covers Java and PL/SQL languages. However, Sonar is highly extensible and can therefore embark plugins to cover new languages.

 

http://sonar.codehaus.org/

 

Very simple to install: http://docs.codehaus.org/display/SONAR/Install+Sonar

and use:

http://docs.codehaus.org/display/SONAR/Analyzing+Java+Projects

 

There is also Hudson plugin that makes it even simplier to run sonar on the build server: http://wiki.hudson-ci.org/display/HUDSON/Sonar+plugin

 

 

liya 14/10/2009 - 16:20

hudson logoIf you wish to "hang on" to a certain plugin which shipps with hudson.war just unpin it in the Manage Hudson >> Manage Plugins page - this option is availabe sine 1.374 release (and you can always grab the latest @: latest)

 

See full explanation below quoted from hudson wiki:

hagzag 07/09/2010 - 10:13

As of now Hudson-CI is leading the poll, altough it seems like a "work in progress" for the list isn't 100% complete see: http://java.dzone.com/polls/which-continuous-integeration & see the posts comments.

hagzag 03/09/2010 - 18:53

Yesterday I upgraded hudson to the greatest an latest which was a seamless upgrade.

A very obvious change in the Job configuration form was added instead of "Tie Build to a node":

old_slave_selection_dialog

There is now "Restrict where this project can be run":

new__slave_selection_dialog

 

The disadvantage in this feature is if you want to a build to a node you need to know its name / node group name prior to the actual configuration. The Advantage of this feature is you can be more specific in where you want you build to run and with a large number of slaves this is quite important, Please note: "old" jobs aren't affected of this change.

hagzag 17/08/2010 - 18:07

Version 1.371 of Hudson was released Aug 9 and introduced a weird "side affect". A Job configuration form will save the data to the filesystem, but will not return to the Job page - this doesen't braek anything but is just annoying.

Early adapters feel free to go ahead and update to 1.372 (download here) which I tested and works like a charm + fixes this issue introduced in 1.371 release.

Hope you find this Useful.

hagzag 16/08/2010 - 09:36

Needed to run Sellenium tests myself on Linux (RHEL5 & 4) didn't have this article to help me then see:

http://markgandolfo.com/2010/07/01/hudson-ci-server-running-cucumber-in-...

 

RHEL4 useers please note:

  1. you will need xorg-x11-Xvfb and not xorg-x11-server-Xvfb as stated in the above article.
  2. if you need Firefox (well who doesen't ) make sure you install it - it isn't installed by default on RHEL!.

Hope you find this useful (I know I do ...)

hagzag 06/07/2010 - 07:58
Syndicate content