[Bamboo Knowledge Base]
Bamboo manages a number of standard reserved variables that are available during deployment executions.
名前が繰り返される場合、次のリストで後にある変数が前の変数をオーバーライドします。
| 変数 | 説明 |
|---|---|
| bamboo.agentID | The id of the agent that the deployment is executed on. |
| bamboo.agentWorkingDirectory | エージェントの作業ディレクトリへのパス。これは Bamboo の作業ディレクトリとは異なります。 |
| bamboo.build.working.directory | Bamboo の作業ディレクトリへのパスです。これはビルド計画とデプロイ プロジェクトの両方で使用されます。 |
| bamboo.deploy.environment | リリースがデプロイされる環境の名前。 |
| bamboo.deploy.project | デプロイ プロジェクトの名前。 |
| bamboo.deploy.rollback | デプロイされるリリースが置き換えられるリリースよりも古い場合に当てはまります。 |
bamboo.deploy.release bamboo.deploy.version | デプロイされているリリースの名前。「.release」と「.version」のいずれかを使用できます。どちらもデプロイされるリリースの名前を返します。 |
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 | The URL to the screen in Bamboo that dispays build results. |
For Bamboo variables to do with build plans, and releases, see Bamboo variables.
デプロイ環境変数は、環境パネルの [その他の設定] セクションの一部として設定されます。
On this page:
環境変数を設定する手順は以下のとおりです。