hudson

Set environment variable for build in hudson

I am trying to put a maven2 project under continuous integration in hudson. The project uses selenium for some integration testing. Hudson is running on a headless linux. I am using xvfb to start a x server session for selenium. In order to run the tests, I need to export an environment variable named DISPLAY. e.g. export DISPLAY=:99 ...

How to change the BaseUrl on a Hudson behind a Proxy?

How can i change the BaseUrl on a Hudson behind a Proxy? I'm running a Hudson installation behind a proxy. The problem is, that any url (email, jabber, tray app) in the web application is set to the local proxy and not to the virtual host. How can i fix that, is there any environment variable? I have just found "Hudson Url" for email'...

Hudson job does not stop - why?

Hello! My automated build and tests are up and running, everything works fine. Im am using hudson and the pde build (configured with pluginbuilder). When the build succeeds everything is fine, the hudson ball turns blue and so on. But when something goes wrong and the build or tests fail - the Hudson job does NOT end. I am invoking ...

hudson | nAnt.exe is not on the "\bin" folder.

Hi guys, I just setup hudson (CI), how do I tell this Dude that my NAnt.exe is not in the \bin folder? it's keep looking for this path: C:\myProjects\web2009\tools\nant\bin\NAnt.exe //doesn't exist but in the reality I setup it, in here: C:\myProjects\web2009\tools\nant\NAnt.exe // the correct path ...

Why does the Hudson Integration Game plugin does not work after update?

Recently I updated the cigame-plugin for Hudson to version 1.12. Now I recognized, that no build get points at the moment. The builds are SCM-triggered and the CI-game is activated for the project and the user. What is going wrong? How can I fix it? EDIT: I have to correct, the update to the new version of the plugin isn't the problem. ...

hudson build if changed from last build

Hello I wanted to know if there is a way that hudson will start a build and stop it if nothing was changed? because i have a script after the build wich i dont want to run if nothing has changed from least build(only if someone checked in a file for example). Thanks Gil. ...

changes feed back and Params...

Hi can i have a feedback if a file just cheked in ,in other word if a change was made.and lets say that if a change was made then to execute a script,or just put in some paramter i define in hudson "true" value and then use this param to decide if to execute the shell script or not? Thanks. ...

cancel build operation

I am in phase of implementing hudson for the build automation. I am using some shell scripts to perform one of the build step. Cancel build operation (in the middle of build process) leads to the build in illogical state. Is it possible to restrict users to use cancel build operation? ...

Does anyone know where to get the XSD file describing the junitReport.xml file format expected by Hudson?

Dear ladies and sirs. I need the XSD of junitReport.xml recognized by Hudson. Does anyone know where can it be found? Thanks. ...

Hudson or Teamcity for continuous integration?

We are a Java shop looking for a CI tool to use. Both Hudson and Teamcity seem to be free but Teamcity seems slicker and with more support. I was wondering why one would still use Hudson and if anyone could provide any argument for/against either? ...

how to get Hudson CI to include test results in the status email

I've been evaluating Hudson, with an eye to convert to it from CC.NET. In CC.NET, I've gotten my emails to include test statistics, such as # of tests run, how many failed, etc. It even shows in red "this project has no tests" which is a great motivator, right? Is there any way to accomplish this in Hudson? I've tried the email-ext p...

Any experience with a Continuous Integration Appliance?

We have a continuous integration server running Hudson CI. I'm thinking about putting up an LCD display in the office with various build stats and am curious what others have put together. I'm currently thinking about buying a WIFI-enabled digital picture frame that I can send generated images to. Or repurposing an old laptop... Thoug...

Java code coverage in Hudson

I'm migrating a couple of projects from an ant build to a maven one. The build server is , and will remain, Hudson. I've been having trouble recording code coverage in hudson with cobertura due to the tests run and recorded twice problem. The project is multi-module and it would be nice, although not required, to have an aggregated out...

Build are not tagged as unstable when unit test fails

Hi, I have added a new job in my hudson server which builds the project with a makefile. Execute shell command: #!/bin/bash cd $JOB_NAME make My makefile looks like this SDK_31 = iphonesimulator3.1 TARGET_DEV = myProject TARGET_TEST = unitTest all: debug debug: xcodebuild -sdk ${SDK_31} -target "${TARGET_DEV}" -configurati...

Hudson + Selenium plugin - Getting HTTP error 403 when running tests

I am trying to test my application using Selenium tool via the Hudson plugin (the one called sleniumhq plugin). As a proof of concept I decided to make a very simple test targetting google, the test is the one below: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xh...

Deploying ASP.NET Web Applications from Hudson Build/CI Server

We have multiple Hudson continuous integration environments set up with automated builds and tests, however we don't do any kind of automated deployments to test environments. I was wondering how other teams are deploying their ASP.NET web applications. Our builds package up the artifacts of a build with some scripts to stop/start IIS ...

Is there a Darcs Plugin for Hudson

Hy, I want to use Hudson together with darcs (a scm). Is there a plugin which adds Darcs-Support to Hudson? I found no reference on the Pluginlist of Hudson, so has anybody found a plugin? I know I could write my own plugin but if somebody else has done this already I can save the time... Thanks! ...

Selenium Testing in Hudson question

Hi, I'm having some trouble running a simple selenium test through Hudson. I've installed the SeleniumHQ plugin for Hudson and configured a job to run a simple test suite which consists of two tests which run fine from the Selenium IDE and from the TestNG plugin in Eclipse. However, when I try to run them through Hudson, the testing j...

How can I get Hudson to continue a build after a windows command fails?

I've got a build script from a 3rd party tool. It does it's job properly, but throws a useless exception at the end which I need to ignore. But Hudson doesn't ignore it. It stops my build when this script exits with an error code != 0. Which it does, even when the last line is 'exit 0'. There is no option in the Hudson build configu...

How to get Hudson CI to execute a Powershell script?

I'm using Hudson version 1.324 for CI and have a couple of issues: Environment: - Windows Server 2008 - Powershell v1.0 - Hudson 1.324 running as a service - Hudson Powershell Plugin installed - Psake (aka. "Powershell Make/Rake" available from Github) 0.23 (All current/latest versions as of this initial post) I have a Powershell (PS) ...