hudson

Hudson + JUnit + embedded GlassFish, how to provide domain configuration?

I'm using NetBeans and GlassFish 3.0.1 to create an EJB3 application. I have written a few Unit Tests, which get run via JUnit and make use of the embedded GlassFish. Whenever I run these tests on my development machine (so from within NetBeans), it's all good. Now I would like to let Hudson do those tests. At the moment it is failing w...

How to copy a file from one windows machine to other windows machine?

How to copy a file from one Windows machine to other Windows machine? so that i can write a batch script can run that from Hudson machine. My requirement is , I like to deploy war in tomcat server located remotely in another windows machine through Hudson (war will be generated in this machine) which is located in another windows machin...

GitHub, Gerrit, Hudson workflow

I'm just getting started using GitHub, Gerrit, and Hudson together. And I need some thoughts on workflow. We'd like to use GitHub as our main remote repo. We'd like to use Gerrit primarily for code reviews, but also for build triggers in Hudson. At the moment, though, I'm having some trouble thinking through the workflow for this and w...

Workflow for GitHub-based code review

I'm considering using GitHub as our primary tool for doing code review. With features like in-line commenting and compare view, it seems to have a lot of features that tools like Gerrit have on offer. Has anyone else used GitHub for this? If so, what is your workflow? And what have your experiences been doing so, both positive and negat...

Hudson will not start on Windows 7? JNLP slave agent listener started on TCP port ...

I'd like to setup Hudson to work with Ant. I am using it for the first time, and when I try: -java -jar hudson.war it starts doing something, but stops on the line: INFO: JNLP slave agent listener started on TCP port 59204 I am running Windows 7, also the Java Web Start for hudson does not start. ...

php remote development workflow: git, symfony & hudson

Edited: (after seeing Luke's answer) I'm looking to develop a website and all the work will be done remotely (no local dev server). The reason for this is that my shared hosting company a2hosting has a specific configuration (symfony,mysql,git) that I don't want to spend time duplicating when I can just ssh and develop remotely or throu...

Hudson git failed to send out build failure email to

How to configure the git user.name to enable Hudson send out email to the user who commit code? I just follow the standard way to configure the git user.name with "User Name (userid)", see below. git config --global user.name "Euler XXXX (euler)" git config --global user.email "[email protected]" Then I commit the code t...

Trigger periodic job in Hudson only if last execution of another job is successful

I have a job NIGHTLY that runs one time each night by a periodical timer. Now I want to change so that the NIGHTLY job is only run if the last execution of another job FOO in Hudson is successful. Note: Job FOO is run many times each day and is triggered by SCM. NIGHTLY should only be run one time per night and at a specific time. ...

Config spec of the clearcase vi

Hi , I would like to know if below my need is possible in clearcase : Say , I have 15 different views (Dynamic or Snapshot) created (from different users/developers), I want get the "config spec" using some kind of cleartool command (Without having to right click on the view and select the configspec from windows context menu). Finall...

Hudson project without user interface

Hi, Can I configure, create/update the existing project in Hudson without using its user interface? Is it possible by changing configuration file or other mean? ...

Building hudson view present on the slave machine

Hi, Is it possible to build project present on the developer view present on different machine, not on the Hudson running machine? If so please provide me way. -Srinivas N ...

Hudson, windows2008 and git plugin

I got hudson up and running. Installed git plugin. Created new job, typed in git repository URL, saved and hit 'build now'. It just freezes. When i cancel build, this is what I get: Started by user anonymous Checkout:workspace / C:\Users\taboo_user.TABOO.hudson\jobs\Interreg\workspace - hudson.remoting.LocalChannel@94aa42 Using ...

Spreading a single build over multiple slaves Hudson

I want to write an ant script that is distributed over multiple slaves. I don't understand exactly how the hudson system works but it seems to simply run the whole of one type of build on a single slave. I would like multiple slaves to run in parallel to do my testing. How can i accomplish this? ...

Restarting Hudson on Windows

I've been having an issue with Hudson on windows. Whenever I update Hudson or a plugin I get the option to restart when no jobs are running. If I click this button Hudson hangs and doesn't restart. I've tried restarting the Hudson service but this doesn't help, so end up having to reboot the box to bring Hudson back online. I've just u...

git: Automatic tagging of releases

How do you tag your release versions in git? Now I have each release identified by build number, but they increment even if there are no changes in the repo. My idea is to have it generated automatically on successful deployment on staging server. E.g. run Hudson build when successful, add new tag, i.e. 1.0-1 on next successful build ...

Mercurial changegroup hooks not triggered; Linux

I have a server which serves a "central" Mercurial repository; the team clones it and pushes their changes up to it via ssh. Hudson is installed on the same server (RHEL 5.5). I wish to trigger a Hudson build whenever anyone pushes to the central Mercurial repository. I also wish to send a notification email upon a push. In ProjectName/...

Why does Hudson ignore my profiles.xml file?

I have a Maven2 project, with a pom.xml and a profiles.xml files at the same level. The project configuration is provided by Maven profile properties: dbhost=${dbhost} dbport=${dbport} // etc. Locally, each developper customize his build in the "profiles.xml". It works well. For continuous integration, a ci "profiles.xml" has been pu...

Plugin does not exist or no valid version can be found error

I have downloaded the complete source of hudson jira API plugins and am trying to build it by mvn install. The jira plugin gets build properly, but when it tries to build the hudson plugin, I am getting the error [INFO] The plugin 'org.kohsuke:access-modifier-checker' does not exist or no valid version could be found. The access-modifi...

Getting maven and git to work.

I have recently began delving into git and maven. I have a system that has several module sets and this is stored in various git repositories, I need this to be pulled down into the same workspace and run various maven goals. I was wondering if anyone else has run through this setup and provide tired and true way of doing this. I would...

producing a correct and complete xml unit testing report (for Hudson)

I'm extending RUnit (a unit testing suite for R) so that it produces also output that can be read by Hudson. actually I already have something that does this, but it does not handle 'deactivated' tests. to see what I mean, have a look at the r-forge project 'rtest' (it temporarily identifies itself as RUnit, but it further works rather...