ワークフローの管理
複数のワークフローをチェーンしたり、チェーン内のワークフローの順序を並べ替えたり、Bitriseワークフローエディターでいつでもワークフローの名前を変更したりできます。
Bitriseワークフローエディターでは、複数のワークフローをチェーンしたり、チェーン内のワークフローの順序を並べ替えたり、ワークフローの名前をいつでも変更したりできます。
Offline Workflow Editor
The Workflow Editor is available both online and offline:
-
You can use it online on bitrise.io.
-
You can use the offline Workflow Editor.
The Workflows & Pipelines screen
The Workflows & Pipelines page provides an overview of all your Workflows and Pipelines which are the most fundamental structural elements of your Bitrise configuration.

To get to the Workflows & Pipelines page, open your app on Bitrise and click the button. On the page, you can:
-
View the list of all Workflows and Pipelines. For the automatically generated default Workflows, you can also see a brief summary of their function. You can filter for any Workflow or Pipeline by name.
-
Start or schedule a build. You can do so either by clicking the
button next to their name. In the case of the latter, the start build dialogue window will have the selected Workflow or Pipeline already set. For more information on starting builds, see: ビルドの開始. button or you can find the Workflow or Pipeline you want to build and click the
-
Enter the Workflow Editor to create a new Workflow: click the ワークフローの作成. button. For more information about creating Workflows, see
-
Enter the Workflow Editor to edit your selected Workflow by clicking the
next to their name. For a Pipeline, this button takes you to the bitrise.yml tab of the Workflow Editor to edit the app's
bitrise.yml
configuration file. -
You can also choose to go the bitrise.yml tab directly: click the button. Read more about the
bitrise.yml
file: bitrise.ymlの基本.
If you need additional resources, you can click button on the page to read some of our guides to getting started with Bitrise.
ワークフローを連鎖させる
複数のワークフローを設定して、連続して実行することができます。これらのワークフローの順序を並べ替えたり、新しいワークフローをチェーンに追加したり、既存のワークフローをチェーンからいつでも削除したりできます。
Bitrise開始ビルドステップ
このガイドで説明されているようにワークフローをチェーン化した場合でも、すべてのワークフローは同じ仮想マシンで実行されることに注意してください。ただし、 Bitrise Start Build ステップ、トリガーされたワークフローのそれぞれは、別々の仮想マシンで実行されます。 単一のトリガーで並列ビルドを開始する。
-
でアプリを開きます ビットライズ。
-
クリック
メインページのボタン。 -
で ワークフローとパイプライン ページで、必要なワークフローを見つけます。
-
クリック
ワークフロー名の横にあるボタンをクリックします。
-
Click the ellipsis (...) button to the right of the name of the Workflow.
-
クリック 前にワークフローを追加する 現在選択されているワークフローの前にワークフローをチェーンするか、をクリックします 後にワークフローを追加 現在選択されているワークフローの後にワークフローをチェーンします。
-
クリック 保存する 右上隅にあります。
In this example, we're chaining together three Workflows: test
, deploy
, and ci
, using the before_run
and after_run
parameters.
workflows: test: envs: - IS_TEST: "true" steps: # test Steps to run deploy: before_run: - test steps: # steps to deploy ci: before_run: - test after_run: - deploy
ユーティリティ ワークフローを直接設定する方法の詳細については、 bitrise.yml
ファイル、チェック ワークフローリファレンス.
連鎖ワークフローの再配置
チェーンができたら、ドラッグアンドドロップメニューでワークフローの順序を簡単に並べ替えることができます。
-
でアプリを開きます ビットライズ。
-
クリック
メインページのボタン。 -
で ワークフローとパイプライン ページで、必要なワークフローを見つけます。
-
クリック
ワークフロー名の横にあるボタンをクリックします。
-
Click the ellipsis (...) button to the right of the name of the Workflow.
-
クリック 再配置 チェーンのワークフローを再配置できるドラッグアンドドロップメニューを表示します。
-
クリック 保存する 右上隅にあります。
ワークフローの名前変更
必要に応じていつでもワークフローの名前を変更できます。すばやく簡単です。
-
でアプリを開きます ビットライズ。
-
クリック
メインページのボタン。 -
で ワークフローとパイプライン ページで、必要なワークフローを見つけます。
-
クリック
ワークフロー名の横にあるボタンをクリックします。
-
クリック 名前を変更 ワークフローの名前の横。
-
新しい名前を入力し、チェックマークをクリックして新しい名前を保存します。
-
クリック 保存する 右上隅にあります。
ユーティリティ ワークフロー
Bitrise は、ユーティリティワークフローと呼ばれる特別なタイプのワークフローをサポートしています。ユーティリティ ワークフローの ID は常にアンダースコア文字で始まります。たとえば、 _setup
.これらは通常、いくつかの異なるワークフローの開始時または終了時に必要なタスクを実行するために使用されます。アプリ。
ユーティリティ ワークフローを作成できます まったく同じように 通常のものを作成するとき。ユーティリティ ワークフローであることを示すには、名前の前にアンダースコアを付けるだけです。
Utility Workflows cannot run alone
ユーティリティ ワークフローは、スタンドアロン ワークフローとして実行できません。ワークフローの前または後に、通常のワークフローと一緒にチェーンする必要があります。 ワークフローを連鎖させる.
In this example, we have two utility Workflows, called _setup
and _send-notifications
. They are chained together with two Workflows called test
and ci
using the before_run
and after_run
parameters.
workflows: _send-notifications: steps: # send notifications _setup: steps: # setup Steps to run test: before_run: - _setup envs: - IS_TEST: "true" steps: # test Steps to run ci: before_run: - test after_run: - _send-notifications
ユーティリティ ワークフローを直接設定する方法の詳細については、 bitrise.yml
ファイル、チェック ワークフローリファレンス.