Difference between revisions of "Nexjexpress/Hudson"

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<big><big> Continuous Integration Project - Mercurial</big></big>
 
<big><big> Continuous Integration Project - Mercurial</big></big>
 
{{NexJ_Express Index}}
 
{{NexJ_Express Index}}
: Introduction
+
==Hudson Resources==
 
::[http://hudson-ci.org/ Hudson]
 
::[http://hudson-ci.org/ Hudson]
 
::[http://blogs.sun.com/glassfishpodcast/entry/episode_007_interview_with_kohsuke Interview with kosuke]
 
::[http://blogs.sun.com/glassfishpodcast/entry/episode_007_interview_with_kohsuke Interview with kosuke]
Line 7: Line 7:
 
::[http://deadlock.netbeans.org/hudson/builds Hudson demo]
 
::[http://deadlock.netbeans.org/hudson/builds Hudson demo]
  
:Steps to how to use Hudson
+
===Steps to how to use Hudson===
 
:1- Installation
 
:1- Installation
 
::[http://wiki.hudson-ci.org/display/HUDSON/Installing+Hudson+as+a+Windows+service Installation on Windows]
 
::[http://wiki.hudson-ci.org/display/HUDSON/Installing+Hudson+as+a+Windows+service Installation on Windows]

Revision as of 12:20, 17 November 2010

Continuous Integration Project - Mercurial

Hudson Resources

Hudson
Interview with kosuke
Meet+Hudson
Hudson demo

Steps to how to use Hudson

1- Installation
Installation on Windows
Hudson became self executable[1]
Video Kosuke With slides @http://marakana.com/forums/java/general/79.html
Security
To change the port from 8080 to e.g.8081 (https) -> java -jar hudson.war -httpPort=8081
2- Plugins
Mercurial Plugin
Eclipse Plugin
How to Install plugins
Good plugin installation
3- Start a Job
Building Project
How to use post build scripts with Hudson using regex in log text[2]
4- Authorizing Hudson
Security configurations
While trying to configure users' roles using security matrix, and starting Hudson with this command:
$ java -jar hudson.war --argumentsRealm.passwd.user=password --argumentsRealm.roles.user=adminlogin even as admin was unsuccessful. So, I deleted the config file in Hudson directory and restarted the service and the system again.
Problem fixed!
In configure part, follow these steps: 1- Check "enable security". 2- check "Hudson's own user database" "Allow users to sign up" (Then save and add some users in sign up page.) 3- Check "Matrix-based security", then add those users and give specific permissions to each of them and also to "Anonymous" user.
5-Blogs
Martin's Blog