hudson

Hudson Windows service slave launch causes SmbException

We just acquired three new build slaves for Hudson, which are running Windows XP x64. We're having issues deploying to these that we haven't seen before (we have two other XP32 machines already slaved). When we first reboot the server, or just after restarting the Server service, the node's log on hudson shows the following (domain nam...

Hudson - save artifacts only when less than 90% passes

hi, I am new at this and I was wondering how I can setup that I save the artifacts, only if less than 90% of the tests have passed. Any idea how I can do this? thanks ...

Multiple dependent projects in Continuous Integration Tools

How can one setup continuous integration server to build multiple dependent projects? I want to setup continuous integration process for a project hosted on a mercurial repository. The project however, has a compile time dependency on another project hosted in a different mercurial repository (both hosted on Google). Using Hudson, how...

Hudson and JTReg tests

I am using Hudson to continuously integrate a project using JTReg testing framework. As far as I know, jtreg doesn't output JUnit-style XML reports. Is there a way to publish jtreg tests into Hudson reporting? I saw an IcedTea blog post about integrating Hudson with a slightly-modified version of jtreg, but I cannot find that version....

Launching an independent process from a .bat

I have a Hudson job that launches a .bat script file that itself launches my Jonas application server and a couple of other tasks too. The script is properly launched from Hudson on my slave, then my application server is started but at the moment my Hudson job ends the application server is killed. This is due to the fact that all the ...

How to use hudson when building for multiple platforms

Right now we are building a number of C++ apps for Win32 platform. We will be soon porting to Linux and then maybe more (32 and 64 bits for both). What is the standard practice , do you use multiple hudson servers each on their own platform to do a build, or does the hudson service create VMs and do builds? It is not clear to me the...

Token for Maven package name

Hi, I use maven/hudson to build my project. One of the goals run by hudson is mvn package so I have a full distribution produced on every build. Is there a way (maybe an argument to package?) that I can append the build number to the name of archive that's produced? thanks, Jeff ...

Hudson job with Gallio tests reports "No tests"

I am using Hudson as a CI server to build a few different .Net 3.5 projects. The actual build stuff works great. However, I run MbUnit v2 tests using Gallio.Echo as part of the build, and while the tests seem to run fine, Hudson claims that there were no tests run. I have the following build step right after the "Build a Visual Studio ...

Running FlexUnit4 tests in Hudson with ant

I'm just starting to try figure out how to go about continuous integration and test driven development, specifically in Flex 4. I'd like to run FlexUnit4 tests from an ant script initiated in Hudson. I can get hudson to compile my app but how do I then go about running/seeing results of my tests? ...

How to configure Hudson to archive empty folders

I have the following sample / test configuration that has Hudson create a directory of empty folders. Its then instructed to archive everything within that folder, except it will not match empty folders and ends up archiving nothing. Whats more annoying is that Hudson does not alert you that nothing matches the search string "root**", ...

SVN Hudson JIRA interaction

I am using the jira plugin on my hudson server. When committing code to svn, my commit comments are included on my jira issue, but it is there any way that the comments can be attributed to the actual person who did the commit instead of having one global jira user for all the hudson generated comments. ...

Continous Integration: PowerShell vs. CI Server (CC.NET or Hudson)

So, a friend and I have been discussing continuous integration and bat/powershell scripts versus CI servers like CruiseControl.Net or Hudson. The following powershell pseudo script works to update from SVN, build using msbuild, deploy/copy out, update a build/revision number in the app, and emails on failed builds. The next step would ...

Init.d script to start Hudson doesn't run at boot on Ubuntu

Hi. I'm trying to start Hudson on Ubuntu automatically on boot with an init.d script. The script works fine when invoked manually (ie with ./hudson start), and has update-rc.d-generated sym-links in rc2-rc5, but it doesn't start on rebooting. Does anyone know what might be causing it to not work? The script is as follows (the hudson.log ...

JSTestDriver and Continuous Integration

Hi all: I am trying to use JSTestDriver to automate my Javascript tests with Hudson as the Continuous Integration backend. I'm aiming to get Hudson to at least produce a report on the test results, with failing a build upon failed test as the most desirable outcome. I did a quick search on the web, and found that Hudson doesn't appear...

Electric Cloud / BuildForge: worth the expense?

I just saw a demo of electric cloud and it was very interesting, but it is expensive. Pro: Excellent features - extract the secret sauce from my builds and make them more standardized with reusable steps - parallelize the build to speed it up and use my build farm more effectively - restart the build from any step - integrate tes...

Getting the current logged-in user from an Ant task running in Hudson

I'm using the "Hudson batch task plugin" to kick off some ant tasks after a build has run to deploy the build to a remote box. As a part of the deploy the ant tasks writes a log record to a database. I'd like to be able to include the current user's username. Does anybody know if the user's login is available to ant scripts running in...

Hudson cancel do not cancel all processes

I'm working with hudson v 1.323 installed as a Windows service on Windows XP. I'm building with a shell script that looks like this: #!c:/cygwin/bin/sh export PATH=/cygdrive/c/cygwin/bin:$PATH make -j 4 $MAKE_TARGET When I cancel this build using the red X everything seems to have stopped on Hudson, but when I look in the Windows pr...

Hudson as service on Windows - file system permissions

For some months we've run Hudson on a Windows XP "server" under a user account. This means someone manually logs in and starts Hudson via a .bat file (that sets up a few environment variables, then runs java -jar hudson.war) However a few recent power cuts have resulted in the requirement to have Hudson start automatically at the time t...

hudson(CI) plugins for failed build

Is there any plugins can detect the build fails and then run next certain job? what i try to do is let hudson run one job after current job build successfully, run another job if current build fails. Thanks ...

Which part of HUDSON_HOME should I put under source control?

I'd like to manage Hudson's configuration files with subversion for backup. The Hudson Wiki lists the directory structure of $HUDSON_HOME like so: HUDSON_HOME +- config.xml (hudson root configuration) +- *.xml (other site-wide configuration files) +- fingerprints (stores fingerprint records) +- plugins (stores ...