Skip to end of metadata
Go to start of metadata

Integrating Sauce Labs with Continuous Integration Platforms

Important Steps for All Continuous Integration Configurations

When you are configuring your continuous integration platform to work with Sauce, always make sure to follow these steps:

  1. Update tests to reference the environment variables set by the plugin. See the topic on Setting Environment Variables for more information.
  2. Output the Sauce session ID to the standard output (stdout) to allow the Sauce plugin to associate test results to Sauce Jobs. See the topic on Outputting Session IDs to stdout for more information.

There are two types of Sauce Labs integrations with CI platforms.

Integrating a CI Platform with Sauce Labs Through Sauce Plugins

Sauce Labs has developed plugins to make it easy to integrate testing in our browser cloud with many of the most popular CI platforms. These integrations are directly supported by Sauce Labs.

Integrating Other CI Platforms with Sauce Labs

In addition to the CI/CD platform integrations that are directly supported by Sauce Labs through our plugins, several CI/CD platform developers have created their own integrations with Sauce Labs. This table lists the integrations that are currently available, along with links to the documentation that describes how to set them up. If you need assistance setting up these integrations, contact the Support group for the CI/CD platform developer.

CI/CD PlatformDocumentation for Integration with Sauce Labs
CircleCITest with Sauce Labs
Solano CISetting Up Sauce Labs
Travis CIUsing Sauce Labs with Travis CI