Cross-platform testing in 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.

Testing with different Java versions

Below is a sample YAML configuration file that shows how to run the same set of tests in a Maven project with Java 7 and Java 8.

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

Other platforms

For more information on the different Docker images available to use for Pipelines build environments, see Use Docker images as build environments.

Test reporting

If running your tests generates xUnit-compatible results, your test report will be shown in the log view.

Still need help?

The Atlassian Community is here for you.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy