This documentation relates to an earlier version of Bamboo.
View

Unknown macro: {spacejump}

or visit the current documentation home.

About Executables

An executable is a program external to Bamboo used to automate processes. Generally, executables compile source code to generate compiled executable files (referred to as artifacts in Bamboo). Ant, Maven, MSBuild or PHPUnit are just some examples of executables that can be used as part of your build process.

New executables can be defined as capabilities in Bamboo. Once an executable has been defined in Bamboo, it can be configured as part of a Task.

At least one executable was automatically configured when you installed Bamboo. You can configure more by defining capabilities for the new executables (i.e. executable capabilities). Bamboo supports the following types of executables:

  • ant
  • Maven
  • Grails
  • NAnt
  • devenv.com
  • msbuild.exe
  • PHPUnit
  • カスタム コマンド (「make」など)
  • スクリプト

The executables listed above are supported out-of-the-box. If you need to use a different executable, a number of third-party plugin modules are available (e.g. NoseXUnit). You can also create your own executable plugin (see the Bamboo Plugin Guide​ for details).

Configuring a new Executable

You can define a new executable capability for:

If an agent has its own specific executable capability, the value will override the value of a shared executable capability of the same name (if one exists).

Once you have configured a new executable capability in your Bamboo system, its label (e.g. 'Ant') will appear in the Executable dropdown list when you configure the executable for a Task (see Configuring Tasks). The executable you select will be used every time the Task is executed during a Job build. That is, the Task can only be run by agents which have a capability that matches the executable specified in the Task's Executable field.

注意

  • Pre-configured executables — The executable that was automatically configured when you installed Bamboo depends on the system environment variables (e.g. 'ANT_HOME=/opt/java/ant') that were present on the machine that Bamboo was installed on.
    • Bamboo Server では、インストール時に存在していた環境変数は、Bamboo にローカル サーバー機能として保存されていたものです。
    • リモート エージェントでは、インストール時に存在していた環境変数は、Bamboo にエージェント固有の機能として保存されていたものです。
  • msbuild.exe — この実行可能ファイルを使用するには、.NET Framework SDK をインストールし、msbuild.exe の既定のパスを参照する必要があります(C:\Windows\Microsoft.NET\Framework*64*\v2.0.50727 など)。
  • PHPUnit — You will need to install PHPUnit and reference the path to your PHP command-line interpreter, (e.g. /usr/bin/phpunit on Ubuntu), to use this executable.