デプロイ プロジェクトを作成して設定する


Bamboo を使用してプランからデプロイメント プロジェクトを作成すると簡単です。

デプロイメントは以下を保持するコンテナです。

  • Environments that represent the physical environments, such as QA, Staging, and Production.
  • Releases that represent the actual software artifacts being deployed - these include the issues and commits which make up the release.

To create a new deployment project you need to:

  1. Provide a name and a description that represents your project.
  2. プロジェクトをビルド プラント関連付けます。ビルド プランは、スナップショットする成果物をリリースに生成し、環境にデプロイします。デプロイメント プロジェクトをビルド プランに関連付けると、デプロイメントに使用する成果物のセットがデプロイメント プロジェクトに伝えられます。

If you are using plan branches, you will also need to associate the deployment with the plan branch. The plan branch represents a build for a branch within the version control system that inherits the configuration defined by the parent plan. Any new branch created is automatically built and tested using the same build configuration as the parent. When the plan branch build succeeds, it can be merged back into the master.

詳細については、「ブランチからのデプロイメント」を参照してください。

新しいデプロイメント プロジェクトの作成

新しいデプロイメント プロジェクトを作成する方法

  1. Select Create > Create deployment project in the menu from the top navigation bar. If your build plan has a plan branch, Bamboo will detect it and offer an additional field for completion.
    Create deployment project screen

  2. Complete the Create deployment project screen using the following fields:

    フィールド説明 Optional?
    名前The name of your deployment project.(error)
    説明 A brief description of your deployment project.(tick)
    アクセスSelect the checkbox to make the deployment project visible to all users.(tick)
    ビルド計画The name of the plan you wish to associate with the deployment project. This field identifies the source of your deployment artifacts.(error)
    Use the main plan branch/Use a custom plan branchThe plan branch that you wish to deploy. Bamboo will auto detect available plan branches for you.(error)
  3. Select Create deployment project.
    Deployment project configuration page
    Your deployment project has been created with the build plan relation, name, and description you specified. It is now ready for configuration.

既存のデプロイメント プロジェクトの詳細の編集

Bamboo では、既存のデプロイメント プロジェクトの詳細を編集することができます。

既存のデプロイメント プロジェクトの詳細を編集する方法

  1. From the deployment project configuration screen, select More options more actions menu icon > Edit project details.
    Update deployment project screen

  2. Complete the Update deployment project screen using the following fields:

    フィールド説明 Optional?
    名前The name of your deployment project.(error)
    説明 A brief description of your deployment project.(tick)
    ビルド計画The name of the plan you wish to associate with the deployment project. Hint: This field identifies the source of your deployment artifacts.(error)
    Use the main plan branch/Use a custom plan branchThe plan branch that you wish to deploy. This option will only display if your plan has a valid branch, as described above.(error)
  3. Select Save deployment project.

リリース名の設定

Bamboo のリリース名の設定では以下を制御することができます。

  • デプロイメント プロジェクトが生成する次のリリースの Bamboo による呼び方
  • 新しいリリースの作成ごとのリリース番号の自動インクリメント
  • Automatic incrementing of the release number as specified by a global variable each time a new release is created

See Naming versions for deployment releases for more information.

デプロイメント プロジェクト権限の設定

Bamboo gives you control over who has permission to view, view the configuration, approve a release, and edit your deployment project.

権限戦略を設定する方法

  1. On the Deployment project configuration screen select Project permissions.
  2. Select Add user or Add Group to search for and add users or groups.

  3. Check the relevant View, View configuration, Approve release, and Edit permission boxes to assign your desired permission scheme, and select Add.

Viewing a Bamboo deployment project as Java or YAML Specs

Bamboo instance administrators can view the deployment configuration as Java Specs in Deployment project configuration > more actions menu icon > View Project as Java Specs or View Project as YAML Specs.

More actions menu in deployment project configuration

最終更新日: 2024 年 1 月 19 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.