This page describes how to configure a Bamboo task to use a script executable.

関連ページ

スクリプト タスクを設定するには、次の手順を実行します。

  1. Navigate to the task configuration for the job (this will be the default job if creating a new plan).
  2. 目的のスクリプト タスクの名前をクリックするか、タスクを新規作成する場合は [タスクを追加] > [スクリプト] の順にクリックします。
  3. Complete the following settings:

    スクリプトの設定
    タスクの説明A description of the task, which is displayed in Bamboo.
    スクリプトの場所スクリプト ファイルの場所を選択します。
    • File — enter the location of the file in the Script file field. This can be either relative to the repository root of the plan, or absolute. You can include variables (see Using global, plan or build-specific variables).
    • インライン - [スクリプト本文] フィールドにスクリプトを入力します。
    引数

    Specify an argument to pass to the script. Arguments that contain spaces must be quoted. You can include variables (see Using global, plan or build-specific variables).

  4. 必要に応じて、環境変数と作業ディレクトリの設定を指定します。

  5. 保存をクリックします。