KB How to configure Plastic SCM with Zutubi Pulse

This article is written as a guide to setup Plastic SCM version 3.0 with Pulse 2.0.x (x= 48 - 51)

NOTE: for an updated list of latest supported zutubi pulse versions visit our compatibilty matrix click here .

We will go step by step through the process to setup Pulse, Plastic SCM and nant.exe to successfully make continues builds.

Installing

  1. Install Zutubi Pulse 2.0.x.
  2. Install NAnt 1.90.
    1. Setup nant.exe to be in the PATH environment.
  3. Install Plastic SCM 3.0
    1. While installing Plastic SCM, remember to choose to install Zutubi' Pulse Plug-In as illustrated in Figure 1.

Figure 1: Plastic SCM zutubi Pulse Plug-in

  1. Choose the Data folder of Pulse as illustrated in Figure 2
    1. Default folder would be: c:\Documents and Settings\user\.pulse2\data

Figure 2: Pulse Data path

  1. After successfully installing the above programs, start Plastic Client and create a workspace.
    1. We will use the default repository that is created with the installer.

Setup the system

Plastic SCM

  1. Copy the Plastic SCM client cionfiguration file client.conf
  2. From:
    1. In Windows XP:
    2. C:\Documents and Settings\<LoggedInUser>\Local Settings\Application Data\plastic

    3. In Windows VISTA / 7:
    4. C:\Users\<LoggedInuser>\AppData\Local\plastic

  3. To:
    1. C:\ProgramFiles\PlasticSCM\client

Zutubi Pulse

  1. Start Pulse2 log-in and Add new Project. See Figure 3

Figure 3: Pulse add new project

  1. Add new child template as illustrated in Figure 4

Figure 4: Pulse add new child project

  1. Name the project as desired, and push next. See Figure 5
  2. In select SCM Type page, select Plastic SCM, and push next. See Figure 6

Figure 5: Pulse project name

Figure 6: pulse choose Plastic SCM

  1. Insert the Plastic SCM workspace selector into the Pulse template workspace selector box as illustrated in Figure 7.
    1. You can view the selector from the Plastic SCM Client GUI, or from the command line cmd.exe window by executing the following command from within the local workspace folder: c:\workspaceprj01>cm showselector
  1. Check the configuration from within Pulse, and push next button as illustrated in Figure 7

Figure 7: Pulse workspace selector and check

  1. Select Project Type executable project from the drop down options list and push next. see Figure 8

Figure 8. Pulse project type executable

  1. In the executable field insert nant

Figure 9: Pulse define executable, nant

Figure 10: Successful builds with Pulse and nant through Plastic

Written by: Miller Auker - June-2011