wiki:BUILD_SERVER_DEPLOYMENTS_R0
Last modified 16 years ago Last modified on 12/19/08 17:22:07

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=BUILD_SERVER_DEPLOYMENTS_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

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

Task result

Implementation idea

See BUILD_SERVER_INSTANCE_R0.

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.)