hudson

When running a build from Hudson, I'm getting: "Empty password used - try 'cvs login' with a real password"

Everything was working great with the build. Then this started popping up after the admins did some maintenace. [workspace] $ "C:\Program Files\CVSNT\cvs.exe" -q -z3 update -PdC -D "Monday, August 23, 2010 12:00:52 PM UTC" Empty password used - try 'cvs login' with a real password I've verified that CVS is working fine, and the account...

Automating Database Project Deployment

I'm using the method outlined in this question to automate the database deploy with Hudson. When I deploy the project from within Visual Studio, everything works fine and it updates the target database. When it runs in Hudson, I get this warning: "Deploy warning TSD01266: The source's object [DBName] is different than the target's vers...

How do you prevent Hudson from deleting the source tree after a build?

I have several projects that I check out from SVN, some have to be built by ant before the others. I've assigned each project to a job. proj A proj B In order for B to build, A has to be already built. So, how do tell hudson to not delete A after it checks it out and build it? ...

Windows Server 2003 64 bit cmd.exe error

I'm having trouble calling the Microsoft Cabinet Maker utility (makecab) from a batch script on a Windows Server 2003 server. The batch script is being run by Hudson (continuous integration service) installed as a windows service on the machine. The hudson.exe (64-bit) process spawns a java.exe (32-bit) process, which spawns a cmd.exe ...

When would my Python test suite file coverage not be 100%?

We are using Hudson and coverage.py to report the code coverage of our test suite. Hudson breaks down coverage into: packages files classes lines conditionals Coverage.py only reports coverage on files executed/imported during the tests, and so it seems is oblivious to any files not executed during the tests. Is there ever an instanc...

hudson and building scripts

I have some code I run against other code. Let say command x runs code blah.c I have written a script to check to see if that command executed successfully. I am able to determine this. I will be running the script in the execute build box available in hudson. I need to know who to fail the build if any of there code tests fail. meani...

Maintaining multiple workspaces for each build in Hudson.

Is it possible to maintain multiple workspaces for each build in Hudson? Suppose if i want to keep the last 5 builds, is it possible to have the five corresponding workspace folders also? Currently whenever a new build is scheduled it overwrites the workspace. ...

git plugin and hudson

I using Hudson as my continuous integrations tool. Now when pulling down sources from multiple git repositories. I am getting errors in my workspace only pulling down the last repository in the list and the build fails. I understand that when pull down from multiple git repositories multiple hidden .git directories are created in my wo...

Is it possible to integrate Hudson with an Assembla space?

Hi. I'm looking at Assembla and considering signing up for a monthly subscription. I am currently developing web applications in Java and I've set up builds in Hudson for all of my projects and libraries. Is it possible to set up communication between Assembla and Hudson in some way, so that the build statuses are shown in an Assembla ...

Creating symlinks in Windows for Hudson build

I have a job in Hudson that builds on a Windows XP slave. I know that symlinks are not possible (directly) in Windows XP, and so I am trying to use junctions instead. I wrote a batch script: @echo off if "%1" == "" goto ERROR1 if "%2" == "" goto ERROR2 goto create :create echo Creating junction for %1 at %2 if exist %2 junction -q -d %...

Hudson Jelly file is failing to render internal tag

This Code is from a Hudson plugin. The problem is that the line <aspen:featureTable support="${it.getLastBuild().getFeatureSupport()}" /> should render to a table inside the following script. does anyone know why it would be skipped over by the rendering engine? <j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:d...

What is the best NANT template for Continuous Integration (CI) that you've seen?

Hopefully it covers most common targets while factoring in MSBuild, web deployment, source control checkout, configuration management (config files for multiple env) and Hudson. ...

What good practice strategies and technologies can my company adopt that would save them potentially hundreds of thousands of dollars?

Basically we have rows upon rows of programmers that do mundane tasks every day. This would involve writing code that is not very effective, is not unit tested, and often integrates poorly with the application. Not to mention that there is no accountability in terms of hours spent versus hours worked. I am not trying to get people fired ...

How to make hudson aggregate results provided in build artifacts over several builds

I have a hudson job that performs a stress test, torturing a virtual machine for several hours with some CPU- and IO-intensive tasks. The build scripts write a few interesting results into several files which are then stored as build artifacts. For example, one result is the time it took to perform certain operations. I need to monitor...

Does hudson support SASL authentication for connecting to SVN?

We are using SASL to secure our SVN server and we can't seem to get hudson to connect at all, despite giving it the correct username and password it just fails. ...

Build a specific revision in Hudson?

How do I ask Hudson to build a specific revision (instead of the latest one)? I am using Mercurial in case that's relevant. ...

How to create skeleton files in the workspace for Hudson-CI

When creating projects in Hudson, I usually have to check a few CVS repositories and add a few files (e.g. properties) to build the project. This only has to be done once (or each time the project is checked out). Currently I do this by manually copying the files with regular Linux commands after I have created the project and failed an...

How can I find out what user Hudson is running under

Hey I've taken over handling Hudson from a contractor and I'm wanting to know what user the hudson is running under. I need this because I've made a new job which will sync a folder with another folder on a mapped drive. This mapped drive is only available to the build user (user as in what you log into windows with, not log into hudso...

Using a variable obtained using a pre-build shell command to set an option for the Maven build in Hudson

Hi, I have a Hudson job that runs a maven goal. Before this maven goal is executed I have added a step to run before the build starts, it is a shell script that obtains the version number that I want to use in the 'Goals and options' field. So in my job configuration, under Build Environment I have checked the Configure M2 Extra Build ...

Suggestions for software to ease setting up a build server

I'm currently setting up a new build server and I'm interested in any suggestions the community may have about software such as Hudson or CruiseControl.NET that may simplify and add additional value to the build process. Previously I had a build server set up using custom batch files which would run msbuild and other such tools and thes...