hudson

how do I get the username of the user who started a build in hudson

I'm using the groovy post build plugin. http://wiki.hudson-ci.org/display/HUDSON/Groovy+Postbuild+Plugin I'd like to access the username of the user who started the build. What is the correct variable for this? ...

Maven + Mercurial for Build Numbers

I can't figure out how to get a Mercurial revision id put into my Maven build (ideally I would like it in the MANIFEST of my jars and war). The closest solution I could find is: mvn -DbuildNumber=`hg id -i` Which won't really work for Windows or my Hudson server. Luckily Hudson tags my builds but I would like some more assurance if t...

Watir Excel call not working on virtual machine

I have a watir test that downloads some information from a web app to an Excel file, and I then open the file to confirm the contents. On my dev box everything works fine, but the scheduled automation runs (via Hudson) always fail attempting to open the Excel file. I have checked that the correct version of AutoITX3.dll is registered o...

Is it possible to pre-create a virtualenv for use in hudson builds?

I'm following the outline of the hudson/python/virtualenv CI solution described at heisel.org but one step of this is really chafing, and that's the part where the virtualenv, created just for the CI run, is configured: pip install -q -E ./ve -r requirements.pip pip install -q -E ./ve -r requirements-test.pip This takes an inordinate ...

how to make stable release in using Maven and SVN

Hi, we are having about 100 maven artifacts in our java based project. these artifacts categorize under 5 different products. obviously some of them are shared between products. the problem is that, if you tag a product in svn for a release. the tag is not stable. because dependent shared modules are snapshot and they can be changed by...

Execute many commands maven (mvn install:install-file) in a project free style of Hudson.

Hello, I want to create a project *free style* using Hudson and i want to execute in it commands that installs jar in the repository of Maven by using : mvn install:install-file When i put one command it works but when i put more that one command: mvn install:install-file mvn install:install-file Hudson executes the first command onl...

How to build and deploy to Windows Azure using Powershell and Hudson?

Hi I am looking at getting a continuous integration/continuous deployment environment set up for my windows azure project and I was wondering if anyone had managed to (can point me in the right direction to) build and deploy a windows azure cloud service using powershell and Hudson and perhaps has sample scripts. I can get the projec...

Access originalFile Name for file parameter

In my hudson project I want to use the file parameter and process the uploaded fiel in an ANT Job. Therefore I need to know the location and the originalFileName. How can I access these two values? ...

Hudson server always stopped every morning day ?

Hi Everyone, I've got this regular problem every morning that my build server (Hudson) is always stopped every morning so I have to manually start it, is there any reason why or any location that i can started to look for the error message ? Thanks. here's the error diagnostic that i did: ascari:~# ps -ef | grep -i hud root 595...

Make hudson automatically show pom description in its project page

Hi, I use Hudson to do continuous integration on some maven projects. For these projects, I would like to have the pom description used as content for the Hudson job description. is there a solution to automatically have this configured ? ...

How can I make Hudson automatically build & install release artifacts, rather than just snapshots?

I'm developing several mavenised projects on my laptop, and periodically pushing to github. I've set up a private hudson server in the cloud that polls the git repositories for updates, and thus performs builds - so far so good. Unfortunately, when I execute a 'mvn release:prepare' on my laptop to perform a release (say '1.5'), the two ...

Can I use ivy dependency info in my ant build file

In my ivy.xml file I have dependency statements like: <dependency conf="*->*" org="gnu" name="gcc" rev="4.2.1" changing="false"> <artifact name="gcc" ext="tbz2" e:classifier="src"/> </dependency> 'rev=' can be a fixed value or 'latest' or whatever. In my build file I would like to get hold of the value of 'rev' to be uses in furt...

How to pass environment variable of hudson as a parameter for svn build

My requirement is I need the scope of Hudson's environment variable in the subproject's build parameter for svn url. I want to set SVN Branch name as an environment variable of Hudson, as I want it to be used by all my projects configured there. If I access my environment variable [BUILD_BRANCH] as http://svn/repos/project/subproj/bra...

Hudson jobs and slave node are missing after an upgrade

Where and how are Hudson jobs and slave information stored? I accidentally canceled a Hudson upgrade today. It wouldn't permit me to continue the upgrade; only to downgrade to the previous version and then upgrade again. After I downgraded, the two jobs I had created in the recent past were gone from the dashboard along with the slave n...

how do Hudson generate a job's config.xml ?

Dear developpers, I need your help ! I want to know how do Hudson generate a job's config.xml? I explain: I want to add in my application a hudson-like build tool, to do this, a user will have, like in Hudson's GUI, define some parameters like path to jdk, where the pom.xml is stored, etc... and then the config.xml for this job is gene...

How does Hudson work standalone on Linux?

I need to know the mechanisms and flow for starting up Hudson, so I can figure out what's wrong. When you type in nohup java -jar $HUDSON_WAR > $HUDSON_LOG 2>&1 & (using real values for those variables, of course), what exactly happens? I've been a software engineer for 10+ years but mostly in embedded, and web services are out of my...

Hudson CI & Project dependecies

Can Hudson CI tool solve project dependencies others than trivial ones? For example, how can I set up scenario in which there are two independent modules (A, B) and module C dependent on A and B? There's no way in my opinion: "Build others project" doesn't guarantee that A, B are built before C "Build after other projects are built" g...

Converting CruiseControl to Hudson

Hello Everyone, I am currently writing a Perl script that will convert CruiseControl config.xml files to a Hudson config.xml for each project. However I am stuck at one key part: How do I make it so the sub modules of a project also get the goals from there CC config? I can do the root module fine, and set up the configurations fine as...

hudson plugin: add mutli-user functionality ?

Is there a hudson plugin to add multi-user functionality ? Users can create new account and run their own remote tasks. Users can stop, delete, kill their tasks. Also, is there a way to control what the user sees ? ...

hudson: how to edit template ?

I want to add my own text and change the template of the default hudson for authenticated users. where are the html files located so I can edit them ? or is there another solution ? ...