hudson

Hudson "stop" / cancel build leaving processes behind

We have an automated build, managed by Hudson (1.312), that's got a few layers. On the slaves: codewarrior cc/ld and other tools (some in-house), run by a few recursive Cygwin GNU make 3.81 instances, run by Hudson "execute windows batch command" (so cmd.exe running a batch file that hudson creates, as near as I can tell), run by Huds...

Can Hudson export/set/use my environment variables for the msbuild task?

I am running hudson on Vista and calling MSBuild for C++ solutions (VS 2008). I have not been able to find a way to export the existing user or system environment variables. I can manually set env variables via hudson, but I prefer not to do that - I want to use the existing ones that are already set. Is there a way to do this? E...

Is there (an automated) way to backup Hudson CI files?

Here at my company we have three Hudson CI servers with 100+ jobs configured. We are looking for an automated way to periodically backup job configurations and build history. Currently we have an ant script that we configure as a job but it's not easy to maintain and not elegant. Have any of you found a way to manage this? ...

Only trigger a build on commits to the trunk with svn

I have just set up a post-commit script in our subversion repository that triggers a build by requesting a hudson build URL. This works fine as expected, however now I only want to trigger this build if the commit was to the trunk. our post-commit script looks like this: SET REPOS=%1 SET REV=%2 SET DIR=%REPOS%/hooks SET PATH=%PATH%;%...

Junit inline comparator initialization error

Hi, I've created a SortedList Class, which has a Constructor that takes a java.util.Comparator as an argument. After running Unit tests on my machine (through eclipse 3.3.0), everything was OK. However, Hudson complaints because it says it can't instantiate my comparator. Here its my simple test (snippets) public class SortedListTest...

Invoke QTP Test Suits automatically from Hudson?

We need to integrate QTP with hudson to automatically invoke test suites against the code deployed in hudson.The build process is based on Maven. Is there any plugin or something to achieve this?We heard about groovy plugin for hudson can we be able to execute it with groovy script? Please guide. ...

How to Sandbox Ant Builds within Hudson

I am evaluating the Hudson build system for use as a centralized, "sterile" build environment for a large company with very distributed development (from both a geographical and managerial perspective). One goal is to ensure that builds are only a function of the contents of a source control tree and a build script (also part of that tr...

Hudson git clone error

I have created free-style software project in Hudson. I want to clone a public Git repository: git://github.com/bret/watir.git Build fails with error message: Started by user anonymous Checkout:workspace / C:\Documents and Settings\Administrator\.hudson\jobs\watir\workspace - hudson.remoting.LocalChannel@1a1f370 Last Build : #4 Checko...

Hudson not building after svn commit

I set up hudson on a Windows Vista machine - running as a service. It was working fine, but recently it seems not to build after a commit. It never leaves the "pending" state. When I browse to the hudson project page it seems "stuck" in the quiet period - it knows there was a commit, but it is not building yet. My quiet period is set...

Cobertura Coverage Report Image

Does anybody know where Cobertura sticks it's coverage report image? The url to my image is: http://ContinualTests/746/cobertura/graph When I dig down on my box that is running tomcat/hudson I find tomcat6/.hudson/jobs/XX/builds/746 but I don't see the graph. Is the image getting generate on the fly? Seems like something that wou...

Has anyone had any success using Hudson (or another similar build system) with Perl?

Has anyone had any success using Hudson (or another similar build system) with Perl? ...

Sonar project integration

Hi Ladies and Gentlemen, We've quite big project with own build framework, based mostly on Java (however other languages exist). We'd like to use Sonar Hudson plugin to graphically present various code metrics. How do we do this? Do we need to change project structure and bring it to maven or there is a workaround to just specify wh...

Configure Hudson to only execute Build or Post Build actions if changes in SVN are detected

Is there a way to configure Hudson to only execute Build or Post Build actions if there are changes in SVN/CVS Thank you ...

Backup configuration of Hudson Master systems

I need Backup configuration of Hudson Master systems Detailed information If a Hudson Master system goes down, we need to be able to bring it back up on a different VM as soon as possible (may be 3 hours). Therefore, I need to develop a way to backup the configuration and resetup a new VM reliabily. can any body let me know best way s...

Hudson continuous integration server: how to see Windows mapped directories that are visible to Ant?

Using Hudson, Ant 1.7, Tomcat 6.20, JDK 1.6 and JDK 1.5; all on Windows boxes. My Ant build script for a WAR file uses JARs stored on a remote server. The directory path to the remote server is mapped as a network drive in Windows. A build.properties file is used to specify the paths to the JAR dependencies. When building with Ant, e...

Can I disable Hudson's automatic scheduled builds all at once?

We have a large Hudson set up with many scheduled builds running all the time. Currently I'm trying to get one build to work properly, but I have to occasionally wait when a scheduled build enters the queue. Is there a way to disable all the scheduled builds so I can concentrate on my troublesome build, without adjusting the "cron" setti...

How to use hudson to track a single metric

We use the Hudson continuous integration engine to build and test our Python software Projects. This involves a Makefile which generates various output files like pylint reports and then various hudson plugins analyze and graph the output. Im now looking for a way to track a single value with hudson without any specialized plugins. Be i...

How to get hudson to display the SCM diff since last build in the individual build page

I'm not sure it's even possible, but my command line usecase goes something like this: do svn update do a svn log -l {how many times since my last commit - 1} do a `svn diff -rHEAD:{my last commit revision + 1} and try to get an overview of what happened since last time I touched the code. I get a lot of valuable information from thi...

Git push to GitHub failing - seems to be trying to use HTTP?

I've setup a Hudson continuous intgration server on an Ubuntu 8.04 slice, git version 1.6.4. I am able to have it pull code from a private repo GitHub, but I can't seem to get it to push the tags back after a build. I see the following: # sudo -u hudson git push --tags XML error: syntax error error: Error: no DAV locking support on http...

Is there a overview of all buckminster commands for the hudson buckminster plugin?

I am trying to set up a continous build of our PDE project using hudson + buckminster. The problem i got is, i can't find any list/documentation of the available commands. I think it should be the headless buckminster commands, unfortunately i can't find them documented either. Anybody got an overview of the available commands? Maybe ...