hudson

Publish Maven artifacts on FTP with Hudson FTP Publisher Plugin

I'm building a number of artefacts (zip files for different environments: test, dev) using the maven-assembly-plugin using a specialized Maven profile. These artefacts I want to copy/collect on on a FTP server keeping the version (01.07.10.16.Wed-1626) as a folder, so I need to copy from test/build/01.07.10.16.Wed-1626/ to ftp://my-ftp-s...

Hudson's FindBugs plugin reports line number "-1" for bugs. Ideas?

Greetings, I have a simple test project set up in Hudson and the project's build process (a batch file) generates a findbugs.xml file. This is processed by Hudson's FindBugs plugin but it shows the line number of the bugs as "-1" instead of their actual line number. A coworker suggested I enable debug info for the compiler. I used th...

How do I build a J2EE EAR file in RAD using Maven?

Using Rational Application Developer to create a J2EE application, I create a project for my EAR and a project for my WAR - following the usual project structure created by RAD. So, how do I create a Maven build file that builds the EAR with the WAR inside, etc - ready to deploy. Build needs to work when kicked-off from Hudson. ...

How to enable/configure the Hudson plugins loging for debugging purpose

I'm looking to enable/configure the Hudson plugins logging to show when/what the plugin actions are executed. I'm currently interested in FTP Uploader Plugin but a general config will be more than useful: ...

How to Sync CI (Hudson) Activity into an existing automated Build Process (phing, svn)?

OUR CURRENT BUILD PROCESS We're a small team of developers (2 to 4 people depending on project) who currently use Phing to deploy code to a staging environment, before going live. We keep our code in a SVN repo, where the trunk holds current active development and, at certain times, we do make branches that we test and then (if successf...

What are the most common and widely used plugins for Hudson, specially for Continuous Integration of ASP.NET Web Apps?

I searched around stackoverflow and could not find any relevant questions. ...

How are the builds pushed from Hudson CI Server to QA/Staging/Production environments?

Does Hudson support deploying builds based on repository labels? ...

Can Hudson be configured to prevent certain users from accessing certain projects?

I have various projects being built and tested periodically on a Hudson server, but I don't want every employee in the company to see published artifacts for every project. Project-based matrix security seemed at first the key, but after many tests I find that granting overall read permissions is mandatory if you want users to be able t...

How to set up a Hudson server to run cppunit tests

Hello, I'm having problems setting up my Hudson server to run cpp unit tests so I can output an .xml file. I tried searching the web for some more straight forward instructions on how to set this up but still don't understand how to. It sounds like I need to set up ant to run...but how?? I'm currently running Hudson ver 1.352. Any s...

Is there a clean way to remove a svn tag in Hudson

Recently, we tagged a build through Hudson, but shortly afterward a bug was found that necessitated a rebuild. We ended up deleting the tag in subversion, but Hudson still showed the tag on that build. I found the following in \jobs\\builds\\build.xml <hudson.scm.SubversionTagAction> <build class="build" reference="../../.."/> <ta...

hudson+git FATAL: Could not apply tag

I'm trying to set up hudson with git according to this article, but I still get git errors during build: FATAL: Could not apply tag-PROJECTNAME-ID ... Caused by: hudson.plugins.git.GitException: Command returned status code 128: *** Please tell me who you are. running: git config --global user.name shows valid data, .gitconfig is ac...

Extracting shell script from parameterised Hudson job

I have a parameterised Hudson job, used for some AWS deployment stuff, which in one build step runs certain shell commands. However, that script has become sufficiently complicated that I want to "extract" it from Hudson to a separate script file, so that it can easily be versioned properly. The Hudson job would then simply update from ...

Making Hudson job depend on another job

I have two Hudson jobs: Upload Launch-instance I want to make Launch-instance dependent on the other one, so that triggering Launch-instance automatically causes Upload to be run first. Can I achieve this using Hudson's built-in features or with a plugin? Note that I do not want Upload to always trigger Launch-instance, which is wh...

How do I configure and use PHPunit with Hudson?

How do I configure CI hudson with PHPunit and how do I run phpunit using hudson? ...

How to get Hudson CI to check out CVS projects over SSH?

I have my Hudson CI server setup. I have a CVS repo that I can only checkout stuff via ssh. But I see no way to convince Hudson to check out via ssh. I tried all sorts of options when supplying my connection string. Has anyone done this? I gotta think it has been done. ...

How to Avoid Maven builds stall on ssh host authenticity problem?

What's the right way to keep ssh host authenticity from being a problem for maven and hudsno builds? I have hudson building my maven project on a VM. When the ESX server with my VMs on it is taxed some of my jobs will stall out stuck in a loop of ssh host authenticity problems. The hosts were in the known hosts file, but during these...

How do I get Hudson to stop escaping parts of my shell script?

I would like to have a shell script that copies some logs from a part of my system to the hudson workspace so I can archive them. So right now I have #!/bin/bash -ex cp /directory/structure/*.log . This is kind enough to be changed to cp '/directory/structure/*.log' . Which of course is not found since I don't have a file named *....

Detect if a hudson build is manually or schedule (periodically) invoked

Ive set up deployment in hudson. SVN > Build > copy to production. I need to set up a schedule build to test for build error which is running every hour or so. What i dont want is the schedules builds to deploy to production. Is it posible to detect, in nant, if the current build is a scheduled build or a manually started build. Or shoul...

Hudson plugin, Java error "... disagree on InnerClasses attribute"

I am trying to be able to step through the code of a Hudson plugin called SVNPublisher. I checked out the code for SVNPublisher, used Netbeans to open the project, and clicked "Debug Main project". This results in a Firefox window opening address http://localhost:8080 which shows the Hudson main page. Clicking the "New Job" link results ...

Creating Hudson plugin using different parent project

I'd like to know if it's possible (or if such a setup is actually used) to use a different parent project than org.jvnet.hudson.plugins:plugin? The thing that I'm trying to accomplish here is that I already have parent project for all the parts of a tool we're developing and putting Hudson plugin as one of the modules seems like a reaso...