rossrowe / sauce-teamcity-plugin

Plugin for TeamCity which provides integration with Sauce Labs
Apache License 2.0
15 stars 5 forks source link

Sauce Labs TeamCity Plugin

This plugin allows you to integrate Sauce Labs with TeamCity. Specifically, you can:

Installation

Download the plugin zip file and copy it into your ~/.BuildServer/plugins directory

Usage

The plugin provides a 'Sauce Labs Build Feature' which can be added a TeamCity build.

Once the build feature has been selected, enter your Sauce Labs username and access key, and specify whether you want Sauce Connect to be launched as part of your build. You can also select the browsers you wish to be used by your tests.

In order to integrate the Sauce tests with the TeamCity build, you will need to include the following output as part of the running of each test:

SauceOnDemandSessionID=SESSION_ID job-name=JOB_NAME

where SESSION_ID is the job session id, and job-name is the name of your job.