Last modified 16 years ago
Last modified on 12/19/08 17:22:07
Analysis
Overview
Task requirements
- you should run an instance of the Hudson server on the Sophie server machine.
- create user for the Hudson server on the machine
- the needed variables must be set correctly(JAVA_HOME, PATH, HUDSON_HOME,...)
- there should be a Hudson log file on appropriate place. (the build folder where the server will be set up)
- there should be bash script which runs the server on machine start
- create users for all the developers to have access to the build server. Create authentication rules for each of the Hudson users.
- write BUILD_SERVER_DEPLOYMENTS page with tutorial how to build the project and use the reports generated by Hudson.
- Research the send mail option and configure it if it is possible
- All of these requirements except the last two were completed in BUILD_SERVER_INSTANCE_R0 task.
Task result
- See BUILD_SERVER_INSTANCE_R0.
- Wiki BUILD_SERVER_DEPLOYMENTS page with the build server tutorial.
- authentication rules for the hudson users.
- received mails on every build
Implementation idea
- See BUILD_SERVER_INSTANCE_R0.
- use Hudson tutorial: http://hudson.gotdns.com/wiki/display/HUDSON/Use+Hudson
- Use Matrix-based security in the Hudson configuration.
Related
How to demo
- See BUILD_SERVER_INSTANCE_R0.
- Show the wiki tutorial page
- Show the new authentication rules to the developers.
- Build the project and show the received mail
Design
- See BUILD_SERVER_INSTANCE_R0 for the requirements which intercede with the instance task.
- BUILD_SERVER_DEPLOYMENTS created.
- In http://sophie2.org:8080/configure choose matrix-based security for authentication
- you can write users and add them to the table. Each row represents an user.
- decide the anonymous authentication - he/she should have only read privilidges
- update Hudson to its new version - 1.265. Update the report plugins also.
- for the e-mail notification:
- use the manage hudson->system configuration to set up the smtp server
- use sophie 2 job configuration to set up the emails and to check the e-mail notification option
- fill the project description (in sophie2 job configuration)
Implementation
- See BUILD_SERVER_INSTANCE_R0.
- emails notification were configured but Hudson sends emails depending on the unstable modules(which are five in our case). For now the decision is not to send emails until stable build - then we can send mails to the people who broke the build.
- the authentication is matrix-based - for all the users are set authentication rules. Only me can create and delete jobs and manage users.
- the project description is filled.
Testing
Comments
(Write comments for this or later revisions here.)