hudson

Hudson build fails with Git repository & Grails

I recently configured Hudson to build a Grails project using Git as the repository. However, I am getting this error when running the build: Compilation error: srcdir "/home/matthew/.hudson/jobs/qotd-idea/workspace/src/groovy" does not exist This is because src/groovy is not copied into the Hudson workspace, so Hudson can't find the ...

What is the best CI server for Ruby on Rails Web Applications?

I want to use a CI (Continuous Integration) Server for my Ruby on Rails Application. If the application were in Java, I should use Hudson CI Server. What is the best solution in Ruby on Rails? ...

Why am I getting handshake_failure with Java SSL cert?

I'm trying to use Hudson (which uses SVNKit) to access a Subversion repository that requires a client certificate to access it. I can access the same repository using the same client certificate via Eclipse (also using SVNKit). When Hudson tries to check out the repository, it fails with: org.tmatesoft.svn.core.SVNException: svn: Recei...

Remove artifacts from Hudson, but retain logs in order to link to builds

We have the following requirements for our Hudson setup: We would like to directly link to all builds that have been executed The effective number of artifacts should be limited It is possible to limit the number of maximum builds in Hudson per job (see this question). This option effectively removes old artifacts. The problem is tha...

Configure "execute shell" scripts in Hudon with Python

I am using Hudson for continuous integration in out project. We are using python, git and nose tests for unit testing. What I need is that Hudson should execute nose tests after every build. For that I have added following shell scripts in under execute shell section. $ nosetests /sub/test_sample1.py $ nosetests /sub/test_sample2.py $ n...

How can I aggregate all build artifacts from a Hudson multiplatform matrix build?

We have a Hudson nightly matrix build that produces quite a few build artifacts (for several different platforms and oracle versions). I would like to create a downstream Hudson job that gets all the successful build artifacts from our nightly build and then does something with them. Is there an easy way to do this? I've looked at the...

How do I properly fix deploy permission issues with Hudson and ant?

I'm having trouble deploying my Web start to the web server due to permissions problems (reformatted): /home/hudson/.../build/build-web-start.xml:20: Failed to copy /home/hudson/.../dist/app.jnlp to /var/development/.../webstart/app.jnlp due to java.io.FileNotFoundException /var/development/.../webstart/app.jnlp (Permission denied) an...

Getting all Maven artifacts from Hudson

I have a Maven project that is a child project. It has many sibling projects and the job of this project is to get resources from the siblings and package them in a zip file using the antrun plugin. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://...

Why do certain JUnit tests not get executed in NetBeans and/or Hudson?

When I right click a project in NetBeans and choose Test, certain unit tests aren't running. If I right click the .java file that contains the unit tests and choose Test File, the unit tests do run. Also I have this project in Hudson CI and those same unit tests don't get run. ...

Where do I see the shell script output in Hudson.

Hi, I have written a shell script to build my project using hudson. I have put some comments that will be displayed on the console by using echo command. This will help me to debug the scripts if there are any errors. Rigt now the script works fine without any bugs. But in future if there are any errors, I would like to See the logs an...

Hudson Build-Time Trend Plugin?

Is there a plugin which would allow me to create a "trend" graph for a hudson build which shows the build time for that project? I'm tasked with speeding up the build and I'd like to show a nice trend as I speed it up. ...

Hudson infinite loop polling for changes in Git repository?

The git plugin for hudson works well. However, the build script must update a version number in the files in the repository, commit, and push back to the repository. When Hudson polls next to check for changes, it goes into an infinite loop because it sees that commit as a "change" builds again, which commits a change, so it builds agai...

Referencing a file from another Hudson job

What I have is two jobs, A and B, and I'd like job B to use a file from A's last stable build. Seems like the Hudson UI is able to display all of the information, so I am hoping that there is some way, in Job B, to access that information. There is probably a solution to copy the file, post build, to a shared location and use it from t...

Can I put Hudson Plots on the project page?

I've got Hudson up and running, building Django and Python projects I'm working on. I've found and am using the [Plot plugin][2] to graph Pylint scores, by extracting them with Awk to create a pylint.properties file. So far everything is working great, but I'd like to have the Pylint score appear on the project page. Right now you have...

use hudson to get remote tests results

Hi all, I've a server running a proprietary language on which I'm able to run "unit tests" in this language. I cannot install a Hudson slave on this machine, but would like to have these tests results appearing in a job of hudson (to have at least a monitoring of the code quality for this server code). I'm currently trying to use web ser...

Using Hudson and build steps with multiple git repositories

I'm trying out Hudson to replace our current Buildbot setup. I installed the git plugin. Our current setup is like: ssh://server:/repo/test_framework.git ssh://server:/repo/project_a.git Now, to build project_a I added a new job with multiple git repositories (the ones above). I wanted Hudson to clone the repositories into different d...

Running automated Web browser tests under Hudson

I'm running Hudson for my automated builds and love it. I'd now like to create automated Web browser tests using either WaTiN (preferred) or Selenium. As my Hudson runs as a Windows service (under Tomcat), how can I configure this to run? Will I be forced to log in as a user on the Hudson box so my automated browser tests will find a ...

Hudson plugin problem

Hi. I've created almost the same plugin as JobTypeColumn. There is only one difference - it shows job description instead of job type. But after i can't add this column to my list view. I have an NullPointerException after i edited my config.xml manually. java.lang.NullPointerException at hudson.model.Descriptor.newInstancesFromHet...

hudson build a project using junit maven and HSQLDB in server mode

I have a project of persistence with spring and hibernate built with maven, I'm running the testing using Junit and a test database HSQLDB, when I do a test first initialize the database HSQLDB in server mode, is there some way to make hudson initializes the database, or with maven ? ...

How to configure hudson to ignore changes under specified SVN folders?

Hi all. I'm looking for a way to ignore changes under specified SVN folders in Hudson. It's the same thing as exclude folders in TeamCity and filters in CC.Net. I haven't found any configuration option under SVN GUI configuration. Thanks in advance! ...