LoginSignup
2
1

More than 3 years have passed since last update.

BitriseのWorkflowsを複数同時に走らせる

Posted at

はじめに

Pushした際のトリガーで、例えばandroid用とios用のworkflowsが別々に設定してあり、同時に走らせたい場合があるとします。
その場合の設定を下記に記述します。

Bitrise APIの入手

Account settings -> Security -> Personal access tokens (BETA) -> Generate newを選択し、APIキーを入手します。後ほど、Secrets登録しますので、ここでコピーしておきます。

image.png

Secretsの設定

BITRISE_API = 上記のAPIキー

image.png

Bitrise Start Buildの導入

WorkflowsにBitrise Start Buildをセットします。

image.png

下記を設定します。

Bitrise Access Token = $BITRISE_API
Workflowsに走らせたいworkflowを設定します。
この際、1ラインに1workflowを記述します。
image.png

Triggersの設定

対応させたいブランチ名と今回作成したworkflowを選択します。
するとpushした際に、上述のWorkflowsで設定したものが走ります。
image.png

参考

Starting parallel builds with a single trigger

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1