This is the documentation for Bamboo 5.5. View this page for the

Unknown macro: {spacejump}

of Bamboo, or visit the latest Bamboo documentation.

 

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

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

  • QA、ステージング、本番環境などの物理環境を表す環境 
  • 展開されている実際のソフトウェア成果物を表すリリース - これらにはリリースを構成する課題とコミットが含まれます。

新しいデプロイメント プロジェクトを作成するには、以下を実施する必要があります。

  1. プロジェクトを表す名前と説明を指定します。
  2. プロジェクトをビルド プラント関連付けます。ビルド プランは、スナップショットする成果物をリリースに生成し、環境にデプロイします。デプロイメント プロジェクトをビルド プランに関連付けると、デプロイメントに使用する成果物のセットがデプロイメント プロジェクトに伝えられます。

プラン ブランチを使用している場合、デプロイメントをプラン ブランチにも関連付ける必要があります。プラン ブランチは、親プランで定義される設定を継承するバージョン管理システム内のブランチ用のビルドを表します。作成された新しいブランチは、自動的に親と同じビルド設定を使用してビルドおよびテストされます。プラン ブランチのビルドが成功すると、マスターにマージすることができます。

Learn more about Deployments from branches.

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

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

  1. Click Create > Create deployment project in the drop down menu from the header bar. The 'Setup deployment project' screen will appear:

    If your build plan has a plan branch, Bamboo will detect it and offer an additional field for completion:


  2. 以下のフィールドを使用して、「デプロイメント プロジェクトのセットアップ」画面を完了します。

    フィールド説明 Optional?
    名前デプロイメント プロジェクトの名前(error)
    説明 デプロイメント プロジェクトの簡単な説明(tick)
    ソース ビルド プランデプロイメント プロジェクトに関連付けるプランの名前。ヒント: このフィールドはデプロイメント成果物のソースを特定します。(error)
    デフォルト プラン ブランチデプロイするプラン ブランチ。Bamboo は利用可能なプラン ブランチを自動検出します。ドロップ ダウン メニューからプランを選択します。(error)
  3. Click Create deployment project. The deployment project configuration screen will display:

    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, click the Edit details button. The Update deployment project screen will display:


  2. 以下のフィールドを使用して、「デプロイメント プロジェクトの更新」画面を完了します。

    フィールド説明 Optional?
    関連するビルド プランデプロイメント プロジェクトに関連付けるプランの名前。ヒント: このフィールドはデプロイメント成果物のソースを特定します。(error)
    名前デプロイメント プロジェクトの名前(error)
    説明 デプロイメント プロジェクトの簡単な説明(tick)
    デフォルト プラン ブランチデプロイするプラン ブランチ。このオプションは、プランに上記のような有効なブランチがある場合のみ表示されます。(error)
  3. デプロイメント プロジェクトの保存をクリックして変更を保存します。

リリース名の設定

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

  • デプロイメント プロジェクトが生成する次のリリースの Bamboo による呼び方
  • 新しいリリースの作成ごとのリリース番号の自動インクリメント
  • 新しいリリースの作成ごとのグローバル変数で指定されるリリース番号の自動インクリメント

To configure your release naming strategy:

  1. Click the Release naming button on the 'Deployment project configuration' screen. The 'Release naming' screen will display:


  2. Complete the 'Release naming' screen using the following fields:

    フィールド説明 Optional?
    次のリリース名The identification for the next release version that Bamboo will create by replacing the ${bamboo.buildNumber} term with the numbering strategy of your choice. For example 1.0-m1.(error)
    Automatically increment with each new release(新しいリリースごとに、自動的にインクリメント)Numbers: Check this box to automatically increment the last number in the release string. Variables: You may set Bamboo to increment release numbers according to a global variable. The global variables available will appear as part of the drop down menu in the 'Next release name field', however this field must be checked to activate global variable functionality. Available global variables will appear in the drop down menu when the 'Auto increment global variables' box is checked.(tick)
    プレビューA preview of the release naming strategy. Note: A preview may not always be available(tick)
  3. [保存] ボタンをクリックして変更を保存します。

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

Bamboo では、デプロイメント プロジェクトを表示および編集する権限を持つユーザーを制御することができます。

権限戦略を設定する方法

  1. Click the Permissions button on the 'Deployment project configuration' screen to display the 'Edit permissions' screen:
  2. ユーザーの追加またはグループの追加ボタンをクリックして、ユーザーまたはグループを検索して追加します。

  3. 関連する「表示」および「編集」権限ボックスにチェックを入れて、目的の権限スキームを割り当てます。
  4. 保存をクリックして権限スキームを保存します。
  • ラベルなし