- Home
- Products
- Integration
- Tutorial
- Barcode FAQ
- Purchase
- Company
Listing 5.1 in C#.NET
124 Listing 5.1 QR Code Encoder In C#.NET Using Barcode encoder for .NET framework Control to generate, create Quick Response Code image in VS .NET applications. www.OnBarcode.comQR Code Reader In C#.NET Using Barcode reader for .NET Control to read, scan read, scan image in .NET framework applications. www.OnBarcode.comContinuous feedback
Drawing UPC Code In Visual C#.NET Using Barcode generator for .NET Control to generate, create UPC Symbol image in .NET applications. www.OnBarcode.comCode 128 Code Set A Creator In Visual C#.NET Using Barcode drawer for VS .NET Control to generate, create Code 128 Code Set A image in Visual Studio .NET applications. www.OnBarcode.comA sample CCNet configuration file
Print QR-Code In Visual C#.NET Using Barcode encoder for Visual Studio .NET Control to generate, create QR Code 2d barcode image in .NET framework applications. www.OnBarcode.comPaint 2D Barcode In C#.NET Using Barcode encoder for .NET framework Control to generate, create 2D Barcode image in .NET applications. www.OnBarcode.com< xml version="1.0" encoding="utf-8" > <dashboard> <remoteServices> <servers> <server name="local" url="tcp://localhost:21234/CruiseManager.rem" allowForceBuild="true" allowStartStopBuild="true" backwardsCompatible="false" /> <server name="dotnet3" url="tcp://dotnet3:21234/CruiseManager.rem" allowForceBuild="true" allowStartStopBuild="true" backwardsCompatible="true" /> </servers> </remoteServices> <plugins> <farmPlugins> <farmReportFarmPlugin /> <cctrayDownloadPlugin /> </farmPlugins> <serverPlugins> <serverReportServerPlugin /> <serverLogServerPlugin /> </serverPlugins> <projectPlugins> <projectReportProjectPlugin /> <viewProjectStatusPlugin /> <latestBuildReportProjectPlugin /> <viewAllBuildsProjectPlugin /> <viewConfigurationProjectPlugin> </viewConfigurationProjectPlugin> </projectPlugins> <buildPlugins> <buildReportBuildPlugin> <xslFileNames> <xslFile>xsl\header.xsl</xslFile> <xslFile>xsl\modifications.xsl</xslFile> </xslFileNames> </buildReportBuildPlugin> <buildLogBuildPlugin /> <xslReportBuildPlugin description="FxCop Report" actionName="FxCopBuildReport" xslFileName="xsl\FxCopReport.xsl" /> <xslReportBuildPlugin description="NUnit Details" actionName="NUnitDetailsBuildReport" xslFileName="xsl\tests.xsl" /> <xslReportBuildPlugin description="NUnit Timings" actionName="NUnitTimingsBuildReport" xslFileName="xsl\timing.xsl" /> <xslReportBuildPlugin description="FxCop Report" Draw ECC200 In C#.NET Using Barcode generation for VS .NET Control to generate, create DataMatrix image in .NET applications. www.OnBarcode.comEncode British Royal Mail 4-State Customer Code In C# Using Barcode generator for .NET Control to generate, create British Royal Mail 4-State Customer Barcode image in .NET applications. www.OnBarcode.comDefines servers
Denso QR Bar Code Reader In .NET Using Barcode reader for VS .NET Control to read, scan read, scan image in .NET applications. www.OnBarcode.comCreating Denso QR Bar Code In Java Using Barcode printer for Java Control to generate, create QR Code 2d barcode image in Java applications. www.OnBarcode.comFarm-level plug-ins Server-level plug-ins
Barcode Creator In Java Using Barcode encoder for Java Control to generate, create Barcode image in Java applications. www.OnBarcode.comData Matrix Recognizer In VS .NET Using Barcode recognizer for Visual Studio .NET Control to read, scan read, scan image in .NET framework applications. www.OnBarcode.comProject-level plug-ins
QR-Code Generation In Java Using Barcode printer for BIRT Control to generate, create Quick Response Code image in BIRT reports applications. www.OnBarcode.comData Matrix 2d Barcode Decoder In Java Using Barcode decoder for Java Control to read, scan read, scan image in Java applications. www.OnBarcode.comBuild-level plug-ins
UPC Code Decoder In Java Using Barcode decoder for Java Control to read, scan read, scan image in Java applications. www.OnBarcode.comMake USS Code 39 In .NET Framework Using Barcode printer for ASP.NET Control to generate, create Code 3/9 image in ASP.NET applications. www.OnBarcode.comContinuous feedback w ith CruiseControl.N ET
Making GS1 - 13 In VS .NET Using Barcode creator for Reporting Service Control to generate, create EAN-13 image in Reporting Service applications. www.OnBarcode.comECC200 Generator In Java Using Barcode creator for Android Control to generate, create Data Matrix ECC200 image in Android applications. www.OnBarcode.comactionName="FxCopBuildReport" xslFileName="xsl\FxCopReport.xsl" /> <xslReportBuildPlugin description="NCover Report" actionName="NCoverBuildReport" xslFileName="xsl\NCover.xsl" /> <xslReportBuildPlugin description="Fitnesse Report" actionName="FitnesseBuildReport" xslFileName="xsl\fitnesse.xsl"/> <xslReportBuildPlugin description="MSBuild Report" actionName="MSBuildBuildReport" xslFileName="xsl\msbuild.xsl"/> </buildPlugins> </plugins> </dashboard> Create 2D Barcode In VS .NET Using Barcode creator for ASP.NET Control to generate, create 2D Barcode image in ASP.NET applications. www.OnBarcode.comUPC - 13 Drawer In Visual Studio .NET Using Barcode creation for Visual Studio .NET Control to generate, create EAN-13 Supplement 5 image in VS .NET applications. www.OnBarcode.comBuild-level plug-ins
This configuration file defines two servers
localhost and dotnet3. The Web Dash- board communicates with them using a remoting endpoint. You can define as many servers as you like. You separately configure all the view levels for the server farm C, for the servers themselves D, for the projects E, and for the builds F. This example sets up several build reports to be included in the Web Dashboard feedback. If you look closely, you ll see several tools like NUnit, FitNesse, FxCop, and others that we haven t discussed yet. Don t worry about what these tools are and what they do; we ll discuss them in upcoming chapters. Figure 5.3 shows the build-level view at the CCNet Web Dashboard as configured from listing 5.1. All the detail levels of CCNet views in action
Continuous feedback
When you first install CCNet, none of the build reports from other applications are included. You need to activate them through the Administrator Dashboard. Before the first time you use the Web Dashboard, you have to edit the dashboard.config file (you ll find it in %ProgramFiles%\CruiseControl.NET\webdashboard) and change the initial password in the <administrationPlugin> tag. When you re finished, click the link in the Web Dashboard s main page, enter the Administrator password, and then enable the tool reports you want to include in the Web Dashboard report. As you can see, you can have full control over the CCNet Web Dashboard. You can write your own plug-ins or obtain plug-ins from the internet. But to have so much control, you have to pay a small administration cost. The Web Dashboard gives you detailed information, and you can use CCTray to get a quick snapshot of what s happening on your build server. Getting feedback w ith CCTray
CCTray is an application that s installed on each developer s workstation. You can download it from the home page of your CCNet Web Dashboard or directly from the ThoughtWorks website at http://ccnet.thoughtworks.com/. It sits in the Windows Notification area, commonly called the Task Tray. It manifests itself with this icon: CC . To configure CCTray, open it (double-click the icon) and choose File > Settings (see figure 5.4). You need to configure the noise level here as well. You don t want to be interrupted by messages about projects in which you have no interest. Try to keep the noise level as small as possible. Allow only information that s necessary to help you react when the Figure 5.4 settings.
When you double-click CCTray, you access CruiseControl.NET and the CCTray configuration
Continuous feedback w ith CruiseControl.N ET
code quality degrades. Choose only the projects you need to see (see figure 5.5). On a fresh installation, you need to add a new CCNet server. To do so, go to settings (File > Settings) and click the Build Projects tab. Click the Add button. In the Project window, click Add Server. The easiest way to connect the CCNet server is over a dashboard: type the CCNet dashboard URL in the window. Keep in mind that if you re connecting to the CCNet server from another machine, you must add a firewall exception (port 80 on a standard IIS installation). CCTray uses a red/green indicator, similar to what you find in unit test tools. A CC green tray icon indicates that everything is running fine. A red CCTray icon means you have to act. First, you must know where the problem is. The best way to get this information is via Web Dashboard. You can reach the CCNet Web Dashboard directly from CCTray: right-click one of the configured projects, and choose Display Web Page, as shown in figure 5.6. Figure 5.5 Configuring CCTray. One CCTray benefit is the ability to work with more than one CruiseControl.NET server.
|
|