Overview
Build properties may be specified at the project level. These properties can be referenced in the project configuration for built-in projects, or in the pulse file for pulse file projects.
Property Use Cases
Build properties are most useful for two purposes:
- To parameterise the configuration for built-in projects. For example, you may be using an Ant project, and wish to create two different build projects, each of which should execute a different ant target. This can be achieved by setting the target to a property reference, say $(target) in the project configuration. Then in each project, you can add a property named "target" with the appropriate value.
- To allow properties to be manually specified for a certain project. For example, you may wish to use pulse™ to perform release builds of your project. In order to make a release, you may need to specify a version number at release time. This can be achieved by adding a build property to the project named "version", and checking the "prompt" checkbox int the build options. Now, when the project is triggered manually via the pulse™ web interface, you will be prompted for the value of the "version" property.
Build properties are a generic mechanism that you may also use for other purposes.
Built-in Properties
Several properties are defined by pulse™ automatically. Details are specified on the Properties page.