Dashboard > Pulse v1.2 > ... > Built-in Projects > Executable Projects
  Pulse v1.2 Log In | Sign Up   View a printable version of the current page.  
  Executable Projects
Added by Jason Sankey, last edited by Jason Sankey on Dec 04, 2006
Labels: 
(None)

Pulse Manual Index

Overview

Executables projects can be used to run any build that consists of a single command. Typical examples are builds run from a custom script, or via builds tools that are not directly supported in pulse™.

Configuration

executable

The executable to run. This should be specified as either a command in the PATH or the absolute path of the file to execute. If the file to execute is within your source tree, use ${base.dir} to construct the absolute path. This property refers to the base directory for the build, where your source code is checked out.

This setting is required.

Platform Independence

Some build commands may have different names on different platforms. To make your configuration platform independent, you will need to parameterise the exact value of this setting. This can be achieved by setting the value to a property reference, and by using resources to introduce different values for the property on different agents. For example, set the value to ${buildtool.bin}, then add this property to a resource named "buildtool" on each agent, and import the resource in the build specification.

Examples

Run the script scripts/my-build.sh in your source tree:

${base.dir}/scripts/my-build.sh

Run the command buildtool which is in the PATH:

buildtool

arguments

A space-separated list of command line arguments to pass to to the executable.

This setting is not required.

working directory

If you wish to execute the command from a specific directory, provide the path of the directory, relative to the base directory for the recipe.

This setting is not required. By default, the command will be executed in the base directory for the build.

Zutubi wiki is Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006) - Bug/feature request - Contact Administrators