Bitbucket Pipelines でのクロスプラットフォーム テスト
In Bitbucket Pipelines, you can use multiple steps with different build images to test your software with different versions of the same platform, library or dependency.
複数の Java バージョンでのテスト
以下は、Maven プロジェクトで Java 7 および Java 8 を使用して同じテスト セットを実行する方法を示す、YAML 構成ファイルの例です。
pipelines:
default:
- step:
name: Java 7
image: maven:3.5.2-jdk-7
script:
- mvn clean install
- step:
name: Java 8
image: maven:3.5.2-jdk-8
script:
- mvn clean installその他のプラットフォーム
For more information on the different Docker images available to use for Pipelines build environments, see Use Docker images as build environments.
テスト レポート
If running your tests generates xUnit-compatible results, your test report will be shown in the log view.
この内容はお役に立ちましたか?
さらにヘルプが必要ですか?
アトラシアン コミュニティをご利用ください。