CruiseControlService
Run Cruise Control as a Windows service using Tanuki Software's Java Service Wrapper facility
Overview
CruiseControlService:
Run Cruise Control as a Windows service using Tanuki Software's Java Service Wrapper facility
JavaServiceWrapper subtype with defaults for running CruiseControl. Attach a regular CruiseControl object to this type as a child dependency. Use settings from JavaServiceWrapper to customize.
Design
- Super Type
- JavaServiceWrapper
| Role | Concrete. (Objects can be created.) |
| Instance Names | Unique |
| Notification | false |
| Template Directory | |
| Data View | Children, proximity: 2 |
| Logger Name | CruiseControlService |
Constraints
Allowed Child Dependencies
- CruiseControl 1
- JavaServiceWrapperConsoleTitle1
- JavaServiceWrapperJavaAdditional1
- JavaServiceWrapperJavaClassPath1
- JavaServiceWrapperJavaHome1
- JavaServiceWrapperJavaInitMemory1
- JavaServiceWrapperJavaMainClass1
- JavaServiceWrapperJavaMaxMemory1
- JavaServiceWrapperNtServiceAccount1
- JavaServiceWrapperNtServiceDescription1
- JavaServiceWrapperNtServiceDisplayName1
- JavaServiceWrapperNtServiceInteractive1
- JavaServiceWrapperNtServiceName1
- JavaServiceWrapperNtServicePassword1
- JavaServiceWrapperNtServiceStartType1
- JavaServiceWrapperZip 1
1: These types have a Singleton constraint. Only one instance may be added as a resource.
Allowed Parent Dependencies
- Node
- Site
Attributes
Exported Attributes
| Name | Property |
|---|---|
| installRoot | deployment-install-root |
Defaults for Imported Attributes
| Name | Default |
|---|---|
| javaServiceWrapperConsoleTitle | Cruise Control |
| javaServiceWrapperJavaAdditional | |
| javaServiceWrapperJavaClassPath | ${entity.attribute.ccDir}/lib/*.jar |
| javaServiceWrapperJavaHome | ${env.JAVA_HOME} |
| javaServiceWrapperJavaInitMemory | 128 |
| javaServiceWrapperJavaMainClass | org.tanukisoftware.wrapper.WrapperSimpleApp |
| javaServiceWrapperJavaMaxMemory | 256 |
| javaServiceWrapperNtServiceDescription | Cruise Control configured by ControlTier to run as a Windows service using Tanuki Software's Java Service Wrapper facility |
| javaServiceWrapperNtServiceDisplayName | Cruise Control |
| javaServiceWrapperNtServiceInteractive | false |
| javaServiceWrapperNtServiceName | cruisecontrol |
| javaServiceWrapperNtServiceStartType | AUTO_START |
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
Generate the Java Service Wrappe and Cruise Control configuration files
In addition to generating the Java Service Wrapper configuration, this also calls CruiseControl#Docs-Generate.
- Usage
- Docs-Generate [-installroot <>] [-packagebase <>]
Options
| Option | Description |
|---|---|
| installroot | Java wrapper service wrapper home directory |
| packagebase | Java wrapper service wrapper package installation directory |


