Continuous Integration with CruiseControl.Net



Similar documents
How to configure the DBxtra Report Web Service on IIS (Internet Information Server)

Contents. TSM Remote Server Installation guide

Installation and Deployment

How to Install and Setup IIS Server

Installation instructions for MERLIN Dashboard

Web VTS Installation Guide. Copyright SiiTech Inc. All rights reserved.

Quick Start Guide. User Manual. 1 March 2012

Como configurar o IIS Server para ACTi NVR Enterprise

Archive Attender Version 3.5

Installing the ASP.NET VETtrak APIs onto IIS 5 or 6

Quick Start Guide for the SupportDesk Web Interface

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Configuring.NET based Applications in Internet Information Server to use Virtual Clocks from Time Machine

Browser Client 2.0 Admin Guide

Census. di Monitoring Installation User s Guide

How To Install And Set Up The Database For Quicdoc And Office Therapy (The Applications)

Installation Instruction STATISTICA Enterprise Server

Bitrix Site Manager ASP.NET. Installation Guide

Active Directory Management. Agent Deployment Guide

INSTALLATION INSTRUCTIONS FOR UKSSOGATEWAY

FrontDesk. (Server Software Installation) Ver

Version 3.8. Installation Guide

Smart Auditor 1.3 Installation and Configuration

Using Windows Task Scheduler instead of the Backup Express Scheduler

Installation Guide for Pulse on Windows Server 2012

Distributing SMS v2.0

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

Creating client-server setup with multiple clients

Nintex Workflow 2010 Installation Guide. Installation Guide Nintex USA LLC, All rights reserved. Errors and omissions excepted.

Eylean server deployment guide

HCA-Vision Web Service Installation Guide

Installing Globodox Web Client on Windows Server 2012

Installation Guide for Pulse on Windows Server 2008R2

Digipass Plug-In for IAS. IAS Plug-In IAS. Microsoft's Internet Authentication Service. Installation Guide

Preparing Your Network for an MDsuite Installation

Welcome to the QuickStart Guide

Defender Token Deployment System Quick Start Guide

Spam Marshall SpamWall Step-by-Step Installation Guide for Exchange 5.5

Preparing Your Server for an MDsuite Installation

ION EEM 3.8 Server Preparation

TANDBERG MANAGEMENT SUITE 10.0

Administrator s Upgrade Guide.

Bentley CONNECT Dynamic Rights Management Service

The purpose of this document is to describe how to connect Crystal Reports with BMC Remedy AR System using ODBC.

Installing and Configuring Microsoft Dynamics Outlook Plugin to Use with ipipeline MS CRM

Aspera Connect User Guide

Kaseya 2. Installation guide. Version 7.0. English

0651 Installing PointCentral 8.0 For the First Time

User guide. Business

Out n About! for Outlook Electronic In/Out Status Board. Administrators Guide. Version 3.x

Click Studios. Passwordstate. Installation Instructions

Click Studios. Passwordstate. Upgrade Instructions to V7 from V5.xx

Continuous Integration with CruiseControl.Net

Ajera 7 Installation Guide

SIMS Multi-user Installation Instructions

Using IIS and UltraDev Locally page 1

Thirtyseven4 Endpoint Security (EPS) Upgrading Instructions

WebSpy Vantage Ultimate 2.2 Web Module Administrators Guide

Item Audit Log 2.0 User Guide

How To Enable A Websphere To Communicate With Ssl On An Ipad From Aaya One X Portal On A Pc Or Macbook Or Ipad (For Acedo) On A Network With A Password Protected (

Migrating helpdesk to a new server

Pcounter Web Report 3.x Installation Guide - v Pcounter Web Report Installation Guide Version 3.4

PCRecruiter Resume Inhaler

SERVER ADMINISTRATOR S GUIDE

Online Backup Client User Manual

Exchange Mailbox Protection

TECHNICAL NOTE. The following information is provided as a service to our users, customers, and distributors.

IISADMPWD. Replacement Tool v1.2. Installation and Configuration Guide. Instructions to Install and Configure IISADMPWD. Web Active Directory, LLC

8.7. NET SatisFAXtion Gateway Installation Guide. For NET SatisFAXtion 8.7. Contents

HELIX MEDIA LIBRARY INSTALL GUIDE FOR WINDOWS SERVER 2003 Helix Media Library Version 1.1. Revision Date: July 2011

Universal Management Service 2015

DocAve Upgrade Guide. From Version 4.1 to 4.5

BUILDER 3.0 Installation Guide with Microsoft SQL Server 2005 Express Edition January 2008

STEP BY STEP IIS, DotNET and SQL-Server Installation for an ARAS Innovator9x Test System

SQL Server 2008 R2 Express Edition Installation Guide

RoomWizard Synchronization Software Manual Installation Instructions

AxCMS.net on Network Load Balancing (NLB) Environment

TM Online Storage: StorageSync

Microsoft Dynamics GP SQL Server Reporting Services Guide

NovaBACKUP Central Management Console

RSM Web Gateway RSM Web Client INSTALLATION AND ADMINISTRATION GUIDE

Migrating TimeForce To A New Server

MultiSite Manager. User Guide

User s Guide for OpenERP Microsoft Outlook Free Plug-in 1.0 By Axelor

4cast Client Specification and Installation

DriveLock Quick Start Guide

Cloudfinder for Office 365 User Guide. November 2013

How To Install Database Oasis On A Computer Or Computer (For Free)

Desktop Deployment Guide ARGUS Enterprise /29/2015 ARGUS Software An Altus Group Company

inforouter V8.0 Server Migration Guide.

Mobility Services Platform Software Installation Guide

RUNNING TRACKER ON A TERMINAL SERVER

Spector 360 Deployment Guide. Version 7

EventSentry Overview. Part I Introduction 1 Part II Setting up SQL 2008 R2 Express 2. Part III Setting up IIS 9. Part IV Installing EventSentry 11

NetWrix Account Lockout Examiner Version 4.0 Administrator Guide

Getting started with 2c8 plugin for Microsoft Sharepoint Server 2010

XenApp/Citrix Program Neighborhood Installation

Transcription:

Continuous Integration with CruiseControl.Net Part 2 Paul Grenyer CruiseControl.Net Web Dashboard In part 1 of Continuous Integration with CruiseControl.Net [Part1] I described creating a simple, but effective, continuous integration configuration for Aeryn [Aeryn] using CruiseControl.Net. Another feature of CruiseControl.Net [CCNet] is the Web Dashboard. The documentation describes the Dashboard as follows: The CCNet Web Dashboard Application is used for reporting a wide range of information. At one end of the scale it reports summary details of all projects in your organisation and at the other it can give specific metric output for any specific build. Features of the Web Dashboard include: Multi-project, multi-server support - 1 Web Dashboard deployment can report over all the CCNet projects in your organisation so there is no need for multiple instances of a web application. A significant set of 'plugins' to support various reporting and configuration features Plugin API supports custom features at various groupings of build, project, etc. Plugin API supports a complete code interface, enabling significantly richer plugins than were available with the old Web Application. In part 2 I am going to look at some of the Web Dashboard features and at getting the standard web interface installed. CruiseControl.Net Web Dashboard Features The Dashboard is accessed via a web browser by specifying the name of the CruiseControl.Net server and the ccnet virtual directory (e.g. http://localhost/ccnet/). The Dashboard has four views: Farm, Server, Project and Build. The default view, Farm, is shown below. The CruiseControl.Net documentation can be access via the link from any view. The location bar near the top of the page shows the user where they are and allows navigation.

CruiseControl.Net Web Dashboard Farm Report Farm View The farm view shows all the projects that are running on the server and their status and allows them to be stopped and started or a build forced. There is a link to the CCTray installer. This is useful when CruiseControl.Net is first deployed to a team. Each team member should have CCTray installed on their local machine and this is an ideal way to distribute it. There is also a link to the Server view and the Project view can be accessed by clicking on the project name. Server View The server view gives access to the server logs and server information. Being able to access the server logs via the Dashboard negates the need to go onto the server when configuration and build issues need to be investigated. The Dashboard could be improved by showing the server log in real time. The server information page lists the servers in the system and the CruiseControl.Net software version. Project View The project view is accessed by clicking on a project name from the Farm view. It gives a list of all the recent builds for the project. Successful builds are colour coded green and unsuccessful builds are colour coded red. There are links to the most recent build report, the project statistics (if they have been implemented), the server log and the project configuration from ccnet.config.

Build View The Build view is by far the most useful view. Primary it shows the results of latest builds. This is especially useful if for some reason emails are not being sent out or if emails have been deleted and previous build results need to be checked as the build report shows exactly the same information as generated by the email publisher. Build Report Some of the other features of the build view are the build log, which shows the output from the build. The NUnit details and timings which show the results from running any NUnit tests and the output and timings for any NAnt builds. There is also support for third party analysis tools such as FXCop [FXCop] and NCover [NCover] that I intend to cover in future articles. Installing Internet Information Services The Dashboard is implemented in ASP.Net and requires Microsoft s Internet Information Services [IIS] to run on the same machine as CruiseControl.Net. IIS is included as a package with Windows XP Professional, but is not installed by default. It can be installed via the Windows Component Wizard which is opened by pressing the Add/Remove Windows Applications button on the Add or Remove Programs window accessed from the Windows Control Panel. Put a tick in the Internet Information Service (ISS) box and click next. When the setup has finished click Finish. To test that ISS is installed and working, open a web browser and enter the URL http://localhost/ (you can also use the host name or IP address). If everything has worked a page will be displayed with the message: Your Web service is now running.

Windows XP Professional includes version 5.1 of IIS. Later versions have a different default page with a similar message. Windows Component Wizard Some people consider IIS a security risk so it is important to make sure you are also running the latest Microsoft Windows updates and check with the relevant system administrators before installing it. Configuring the Web Dashboard for IIS If IIS was installed prior to CruiseControl.Net and the default install options were not changed, then the Web Dashboard will already be configured for IIS. If IIS was not already installed or the right install options were not selected, the easiest way to configure the Dashboard is to rerun the CruiseControl.Net installation. This will create the necessary IIS virtual directory. Start by backing up ccnet.config and ccnet.exe.config from the CruiseControl.Net server directory (usually located in C:\Program Files\CruiseControl.NET). The Dashboard only installation should not overwrite the existing configuration, but it is better to make a backup just in case. 1. Run the CruiseControl.Net MSI installer from the CruiseControl.Net website. 2. On the Choose Components screen uncheck CruiseControl.net Server and Examples (leaving only Web Dashboard checked). 3. Leave the Additional Components screen unchanged (ensuring that Create virtual directory for Web Dashboard is ticked). 4. Complete the installation.

To check that the virtual directory has been setup correctly, make sure CruiseControl.Net is running from the command line or as a service (the Dashboard works with either) and then go back to the web browser and enter the URL http://localhost/ccnet/. IIS must be configured for ASP.Net, so this will bring up the source for the default Dashboard ASP page which begins: <!-- Note to people reading source code - CruiseControl.NET includes an HttpHandler which handles all.aspx requests. This file, default.aspx, should never be processed by 'normal' ASP.NET and is here just as a page to explain configuration problems --> There are instructions on the CruiseControl.Net website for manually configuring the Dashboard for IIS, but they re not particularly comprehensive and using the installer is much easier. Configuring IIS for.net When multiple versions of.net are installed IIS needs to be configured to use a particular version. To do this open a command prompt and go the directory (e.g. v2.0.50727) of the.net version to be used, which is usually in C:\WINDOWS\Microsoft.NET\Framework and type: aspnet_regiis.exe i aspnet_regiis.exe is an ASP.Net registration tool. The i parameter, according to the help, installs Asp.net and updates the scriptmaps at the IIS metabase root and for all scriptmaps below the root. Existing scriptmaps of lower versions are upgraded to the same version. The Dashboard and ISS configuration is now complete. Going back to the web browser and refreshing or re-entering http://localhost/ccnet/ will bring up the Web Dashboard. Acknowledgments Thank you to Roger Orr for his review. References [Aeryn] http://www.aeryn.co.uk/ [FXCop] http://www.gotdotnet.com/team/fxcop/ [NCover] http://www.ncover.org [Part 1] Integration with CruiseControl.Net Part 1 [IIS] http://www.microsoft.com/windowsserver2003/iis/default.mspx [CruiseControl.Net] http://ccnet.thoughtworks.com/