hudson

Hudson can't build my Maven 2 project because it says artifacts are missing from the repository? (they aren't)

I'm using Hudson and Maven 2 for my automated build/CI. I can build fine with maven from the command line, but when I run the same goal with Hudson, the build fails complaining of missing artifacts. I'm running Hudson as a windows XP service. ...

Hudson FindBugs plugin: how make the job fail if any problems?

I'm playing with the wonderful FindBugs plugin for Hudson. Ideally, I'd like to have the build fail if FindBugs finds any problems. Is this possible? Please, don't try and tell me that "0 warnings" is unrealistic with FindBugs. We've been using FindBugs from Ant for a while and we usually do maintain 0 warnings. We achieve this through ...

How do you fix "Too many open files" problem in Hudson?

We use Hudson as a continuous integration system to execute automated builds (nightly and based on CVS polling) of a lot of our projects. Some projects poll CVS every 15 minutes, some others poll every 5 minutes and some poll every hour. Every few weeks we'll get a build that fails with the following output: FATAL: java.io.IOException...

Code run by Hudson can't find executable on the command line

I'm setting up my first job in Hudson, and I'm running into some problems. The job monitors two repositories, one containing our DB setup files, the other a bit of code that validates and tests the DB setup files. Part of the code that runs will throw the validated setup files at PostgreSQL, using the psql command line tool, using Runti...

Hudson job hangs at Runtime.exec

I'm running Hudson as a windows service through Tomcat, with no slaves involved. The last build step in the job is a batch file that invokes some Java code. The code uses PostgreSQL's command line tool psql (via Runtime.exec()) to create a database on the local machine and eventually run some tests against it. The job will progress to t...

Creating a virtual machine image as a continuous integration artifact?

I'm currently working on a server-side product which is a bit complex to deploy on a new server, which makes it an ideal candidate for testing out in a VM. We are already using Hudson as our CI system, and I would really like to be able to deploy a virtual machine image with the latest and greatest software as a build artifact. So, how...

Eclipse as IDE + Mercurial for version control + ? Bug tracking = Good idea?

Hi, For a new Java web project I thought about using: Eclipse as IDE Mercurial for version control Some kind of bug tracking software I have heard of bug tracking software where you can tie a change to an unresolved bug when you check it in. I haven't used any such solution myself, but it sounds good. Are there any good bug tracking...

Problem checking out (from VSS) and building maven project in Hudson

Hello, I am new to Hudson, perhaps someone knows the solution: I am trying to checkout the parent pom from the VSS in Hudson (vss plugin installed) and now I get class cast exception: FATAL: hudson.maven.MavenModuleSetBuild cannot be cast to hudson.model.Build java.lang.ClassCastException: hudson.maven.MavenModuleSetBuild cannot be ca...

Multiple slaves on a single machine with hudson

Can I run multiple hudson slaves on a single machine, I mean real slaves with only one build process? My problem is, I have a slave with 3 build processes, using locks-and-latches (V0.4) to run three different kinds of build jobs. But sometimes I have the problem that more than one build job of one kind runs at the same time, or it bloc...

Maven, Hudson and Dynamic Clearcase Views

This led on from the question about asking if Apache Maven and IBM Rational ClearCase integrated well. Thought I should write up what I found out - will require various edits, but I shall eventually get round to adding it all I hope. Environment ClearCase - Version 7.0.1.2 of ClearCase. Maven - All of them, from the Maven website. ...

Getting useful emails from Hudson instead of tail of ant log

A team member of mine recently setup some Hudson continuous-integration builds for a number of our development code bases. It uses the built in ant integration configured in simple way. While, it is very helpful and I recommend it strongly, I was wondering how to get more more concise/informative/useful emails instead of just the tail ...

Integrating Hudson with MS Test?

Is it possible to integrate Hudson with MS Test? I am setting up a smaller CI server on my development machine with Hudson right now, just so that I can have some statistics (ie. FxCop and compiler warnings). Of course, it would also be nice if it could just run my unit tests and present their output. Up to now, I have added the follow...

Problems with "Aggregate downstream test results" in Hudson

My Hudson projects don't seem to properly aggregate downstream test results and I'm wondering if I've missed a configuration step somewhere. I have two projects, Foo and Foo-Tests, both of which are freestyle jobs. On project Foo I have the following configuration: Checked "Aggregate downstream test results". Checked "Automatically ag...

Can my build stipulate that my code coverage never get worse?

I am using hudson CI to manage a straight java web project, using ant to build. I would like to mandate that the unit test coverage never be worse than the previous build, thereby making sure any new code is always tested, or at least the coverage is continually improving. Is there a hudson plugin that works this way? Edit: I am curre...

Hudson, C++ and UnitTest++

Has anyone used Hudson as a Continuous-Integration server for a C++ project using UnitTest++ as a testing library? How exactly did you set it up? I know there have been several questions on Continuous Integration before, but I hope this one has a narrower scope. EDIT: I'll clarify a bit on what I'm looking for. I already have the buil...

Experience with Hudson - Building matrix project

Anyone tried that feature and has some feedback? Or anyone know some useful samples to lookup ? ...

Unable to get hudson to parse JUnit test output XML

EDIT: This issue has been fixed by google in gtest 1.4.0; see the original bug report for more information. I've recently switched to gtest for my C++ testing framework, and one great feature of it which I am presently unable to use is the ability to generate JUnit-style XML test reports, which could then be read in by our hudson build ...

Continuous Integration: keeping the test DB schema up-to-date

Hi, I'm setting up a continuous integration server (Hudson) to build a Java project and run the relevant unit/integration tests. Most of these tests access a database and the test data is kept in a DbUnit XML file. I'm looking for a way to automatically keep the test database schema up-to-date. Currently the SQL script for a particular...

move Hudson job to another server

Hi, I've setup a continuous integration build with Hudson running on Tomcat. I now need to move this a different instance of Tomcat, but don't want to have to configure everything from scratch. Is there a configuration file that defines each job which I could copy to the new server, or is to possible to import/export a job via the user...

Git plugin for Hudson checkout problem

When using the Git plugin for Hudson my job always fails when fetching the latest sources from my online git repository ( git://github.com/ithena/orm2dsl.git ) . The git plugin first executes git fetch succesfully. Then it tries to execute git checkout -f origin/ , which fails as shown below. Is this a problem with my git repository or ...