開発環境の変数

このページの内容

Deployment variables

Bamboo manages a number of standard reserved variables that are available when deploying a project. 

Variables later in the following list override the previous ones in case of repeating names:

  • global variables
  • release variables as defined below
  • user variables defined at environment level
  • the autogenerated variables in the following table:
変数 説明
bamboo.agentId デプロイメントが実行されるエージェントの ID
bamboo.agentWorkingDirectory The path to the working directory on the agent. This is not the same as the Bamboo working directory.
bamboo.build.working.directory The path to the working directory for Bamboo. This is used by both the build plan and the deployment project.
bamboo.deploy.environment The name of the environment that the release is to be deployed to.
bamboo.deploy.project The name of the deployment project.
bamboo.deploy.rollback True if the release being deployed is older than the release being replaced.

bamboo.deploy.release

bamboo.deploy.version

The name of the release that is being deployed. Either .release or .version can be used - both return the name of the release being deployed.

bamboo.deploy.release.previous

bamboo.deploy.version.previous

The name of the release that is being replaced (if available). Either .release or .version can be used - both return the name of the release being replaced.
bamboo.resultsUrl ビルド結果を表示する Bamboo の画面への URL

For Bamboo variables to do with build plans, and releases, see Bamboo variables.

Configuring variables for deployment environments

Deployment environment variables are configured as part of the Other settings section of the environment panel.

このページの内容:

To configure an environment variable:

  1. Open your deployment project and expand the relevant environment panel. In the Other settings section, click Variables:
  2. Enter a valid key and value into the relevant fields in the Variables screen.
  3. Click on Add to add the variable scheme
  4. You can remove unwanted variables by clicking the relevant cross icon on the right of the Variables screen.
  5. Click Back to deployment project to return.
最終更新日 2014 年 11 月 21 日

この翻訳に満足しましたか?

はい
いいえ
この記事についてのフィードバックを送信する

お探しの情報が見つかりませんか?

コミュニティへの質問

Powered by Confluence and Scroll Viewport.