hudson

Configure hudson to build multiple branches

I use an ant file to build a java project in mercurial through hudson. The mailnine has a hudson job running just fine. Recently a new branch was created and pushed to the server by commnd line: hg branch newbranch hg commit hg push -f The mainine does not contain these changes and still builds fine. I have set up a new job with the sa...

Hudson slave serving multiple hudson masters?

Is there a way to have my hudson slaves used by multiple hudson masters? A bit of background info: My build guy has set-up separate hudson masters to do the deployment and testing of our solution into different test environments. My tests are run on hudson slaves (I have 4 slaves). These slaves are associated to one specific hudson m...

Hudson build defaults

This has been a fairly long-standing problem for us with our Hudson installation, and searching around the Hudson Wiki / Issue Tracker hasn't yielded any insight to this. The question: Is it possible to set certain default values for a maven2 build in Hudson? For example, we want all our projects to run the "clean" goal before a build, ...

Two Hudson Masters on the same Windows Server

I want to setup two Hudson Masters on the same Hardware. This will make administering Hudson easier, since both servers are used by two different (and independent) teams. So far I tried to install one server as a service. I verified the installation and it is running ok. I than copied the installation into another path and changed the s...

"Forked Java VM exited abnormally" error from junit tests

I have a java junit test that passes when run alone on a development machine. We also have a hudson job which runs all the tests, invoked via ant, on a Mac OS X 10.4 node with Java 1.5. The test was passing in the hudson build until recently but now (with no related code changes) one test fails everytime with the following error: Error ...

Triggering upstream project builds before downstream project

I have the following project layout: WAR Project A Upstream Projects Dependency B Dependency C Dependency D I'm looking to setup A so that every time I want to trigger a build, it will first build B, C, and D. If either builds for B, C, or D fail then A's build should fail as well. It seems like a common build case, but I'm not...

Why doesn't Inno Setup compiler set the version info correctly from hudson?

If I run Inno Setup compiler from a command line/batch file it creates an exe with the version information in the file name. However, when I run from hudson (same command line) I don't get the version information. Perhaps I am missing something. Is this a known issue? This is the way I am doing it in the iss script file. #define...

Can hudson be configured to continue rest of build steps if one fails?

I don't expect this to be useful in my day-to-day workflow, but when initially configuring projects for hudson there are times when I wish I could get it to try all the build steps - not just stop after the first failure. Again, I am not advocating this for everyday use - just for configuration of the builds. (One of my projects take...

Jelly + JavaScript

Hi. I'm working with Hudson plugins. Jelly views are the most complicated thing for me. So the question is how to use JavaScript code in Jelly scripts? P.S. "Hello World" script is working good but simple "for" loop brings a lot of problems... ...

Can a Parameterized Hudson Build Override the svn revision?

I'd like to setup the ability to rebuild from a specific revision. The default would be HEAD and a user could rebuild an old build (that had been removed). I'd still like to leverage all of hudson's reporting regarding SVN etc. Is there a good way to do this? ...

Change the "Master" name on Hudson

Is there any way to change the "master" node name? ...

Can't get automated release working with Hudson + Git + Maven Release Plugin

As the title says, I'm trying to get an automated release job working on Hudson. It's a Maven project, and all the code is in Git. Manually, I do the release on my personal machine like so: git checkout master mvn -B release:prepare release:perform This works perfectly. The Maven release plugin properly pushes the release tag to th...

Execute command in Hudson as Post-build Actions

Hi friends I am new in Hudson. I would like to execute a 'sourcecodeanalyzer' command in Hudson as Post-build Actions to generate an html report. Please let me know is this at all possible, if yes let me know the Hudson configuration steps to execute the command. Your earliest response in this regard will be extremely helpful. Thanks ...

Hudson integration with UCM ClearCase

I have a linux build machine with JBoss, UCM ClearCase and ant installed. I would like to find out how to configure a continuous integration using Hudson and Hudson clearcase plugin. Can I use an existing dynamic view that is already created. Please give me some basic steps. Thank you in advance. ...

Add crossdomain.xml to Hudson

How can I add a crossdomain.xml to the root of my Hudson server? I'm working on a Flex->Hudson bridge and I'd like to access it directly, instead of relying on a proxy to do it for me. Thanks; EDIT: This is standalone Hudson, not running on any application server. ...

Running Selenium Tests through JUnit in Hudson

Hi, apologies for the somewhat confusing title :-) Basically, I've configured my Selenium tests to run through JUnit when I build the project through maven. If I start my Selenium Server in a command prompt and then run the maven build goal in another cmd prompt then the tests runs as expected. I figured that this process would be easy...

Best practices for versioning Hudson settings

We're using Hudson continuous integration server frequently on projects. But Hudson seems lacking of proper versioning of the jobs configuration. A few times, this has lead to problems: Somebody changes or tweaks the configuration on jobs and something that used to work stopped working. I have tried to version-control jobs on my local ...

Hudson PMD & TaskScanner plugins failing

I have been setting up a windows master with a Linux slave. When running a Flex Project on the slave node and trying to launch the pmd report plugin there´s a problem with accessing the pmd file - I am sure that it exists and the path is correct: [PMD] Collecting PMD analysis files... FATAL: remote file operation failed hudson.util.IOEx...

How do I remove a Hudson Upstream Project relation?

I used to have one job, which I split into two. For some reason, the new split-off job treats the first as an Upstream Project. I'd like to remove this relation, but can't find the configuration for it on disk, or in the Hudson UI (ver. 1.312) Note: the new job, like the old one, is maven2. There is no reference/relation between the POM...

Hudson and rational functional tester

I've just installed Hudson and it is running beautifully. It builds, runs JUnit-tests and also CheckStyle analysis. Next step for us would be to create an installation, install it and then run automated tests on the actual installation. I would then like to fail the build if the tests fail or at least publish the results somehow. I thin...