ControlTier > controltier-elements
 

CruiseControl

Cruise Control continuous integration facility

Overview

Open in Workbench CruiseControl: Cruise Control continuous integration facility

Design

Super Type
Service
Role Concrete. (Objects can be created.)
Instance Names Unique
Notification false
Template Directory
Data View Children, proximity: 1
Logger Name

Constraints

Allowed Child Dependencies

1: These types have a Singleton constraint. Only one instance may be added as a resource.

Allowed Parent Dependencies

Attributes

Default port numbers are 1 more than upstream default in order to avoid conflicts with ControlTier.

Exported Attributes

Name Property
ccDir deployment-install-root

Defaults for Imported Attributes

Name Default
cruiseControlInterval 300
cruiseControlJavaHome ${env.JAVA_HOME}
cruiseControlJmxPort 8001
cruiseControlMailHost localhost
cruiseControlPath /bin:/usr/bin
cruiseControlRmiPort 1100
cruiseControlThreads 1
cruiseControlWebPort 8081

Commands

Note
Commandline options displayed in square brackets "[]" are optional. If an option expects arguments, then angle brackets are shown after the option "<>". Any default value is shown within the brackets.

Docs-Generate

generates all defined docs

Generates main CruiseControl configuration, then calls Builders' Docs-Generate command to generate configuration snippets to be included in config.xml

Usage
Docs-Generate [-ccdir <${entity.attribute.ccDir}>] [-threads <>]

Options

Option Description
ccdir The Cruise Control package installation directory
threads Maximum number of threads to be in use simultaneously to build projects

assertServiceIsDown

checks if process is down

Usage
assertServiceIsDown [-ccdir <${entity.attribute.ccDir}>]

Options

Option Description
ccdir The Cruise Control package installation directory

assertServiceIsUp

checks if process is running

Usage
assertServiceIsUp [-ccdir <${entity.attribute.ccDir}>]

Options

Option Description
ccdir The Cruise Control package installation directory

startService

start the service process

Usage
startService [-ccdir <${entity.attribute.ccDir}>] [-javahome <>] [-path <>] [-spawn <true>]

Options

Option Description
ccdir The Cruise Control package installation directory
javahome The Cruise Control JAVA_HOME directory
path The Cruise Control PATH environment variable
spawn Whether or not to run in background

stopService

stops the service process

Usage
stopService [-ccdir <${entity.attribute.ccDir}>]

Options

Option Description
ccdir The Cruise Control package installation directory

Related Types

The following types are defined for use with CruiseControl.

CruiseControlSetting

Overview

Open in Workbench CruiseControlSetting: CruiseControl configuration setting

Design

Super Type
Setting
Role Abstract. (Objects cannot be created.)
Instance Names Unique

CruiseControlPath

Overview

Open in Workbench CruiseControlPath: PATH to use to run Cruise Control

Default: /bin:/usr/bin

Design

Super Type
CruiseControlSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
cruiseControlPath settingValue

CruiseControlJavaHome

Overview

Open in Workbench CruiseControlJavaHome: Java installation to use to run Cruise Control

Defaults to JAVA_HOME from environment

Design

Super Type
CruiseControlSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
cruiseControlJavaHome settingValue

CruiseControlJmxPort

Overview

Open in Workbench CruiseControlJmxPort: JMX port used by CruiseControl

Port number for the Java Management Extensions web interface. Default: 8001

Design

Super Type
CruiseControlSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
cruiseControlJmxPort settingValue

CruiseControlWebPort

Overview

Open in Workbench CruiseControlWebPort: Web port used by CruiseControl

Port number for the CruiseControl web interface and dashboard. Default: 8081

Design

Super Type
CruiseControlSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
cruiseControlWebPort settingValue

CruiseControlRmiPort

Overview

Open in Workbench CruiseControlRmiPort: RMI port used by CruiseControl

Port for the JMX RMI adaptor and Connector Server. Default: 1100

Design

Super Type
CruiseControlSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
cruiseControlRmiPort settingValue

CruiseControlInterval

Overview

Open in Workbench CruiseControlInterval: Schedule interval (in seconds) to be used for a project

How often to check for a SCM change. Default: 5 minutes

Design

Super Type
CruiseControlSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies
  • Builder

Attributes

Exported Attributes
Name Property
cruiseControlInterval settingValue

CruiseControlThreads

Overview

Open in Workbench CruiseControlThreads: Maximum number of threads to be in use simultaneously to build projects

Default: 1

Design

Super Type
CruiseControlSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
cruiseControlThreads settingValue

CruiseControlMailHost

Overview

Open in Workbench CruiseControlMailHost: CruiseControl mail server address

SMTP host with which to send mail. Attach to builders to be used for CruiseControl configuration generation. Default: localhost

Design

Super Type
CruiseControlSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies
  • Builder

Attributes

Exported Attributes
Name Property
cruiseControlMailHost settingValue

CruiseControlReturnAddress

Overview

Open in Workbench CruiseControlReturnAddress: CruiseControl return email address

Return address of CruiseControl-sent emails. Attach to builders to be used for CruiseControl configuration generation.

Design

Super Type
CruiseControlSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies
  • Builder

Attributes

Exported Attributes
Name Property
cruiseControlReturnAddress settingValue

CruiseControlArtifact

Overview

Open in Workbench CruiseControlArtifact: File or directory to be published as a CruiseControl artifact

Adds an artifactspublisher tag to the CruiseControl configuration. Attach to builders.

Design

Super Type
CruiseControlSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies
  • Builder

Attributes

Exported Attributes
Name Property Description
cruiseControlArtifactName settingValue
cruiseControlArtifactType settingType Allowed values: file or dir