saucelabs/teamcity-sauce-ondemand-plugin

Name: teamcity-sauce-ondemand-plugin

Owner: Sauce Labs

Description: Plugin for TeamCity which provides integration with Sauce Labs

Created: 2016-04-12 17:55:28.0

Updated: 2016-10-24 22:48:01.0

Pushed: 2018-01-11 01:39:56.0

Homepage: https://saucelabs.com/teamcity

Size: 262

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Sauce Labs TeamCity Plugin

Build Status

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

https://saucelabs.com/teamcity will always have up to date links and installation instructions

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.

Release process:

Make sure you have below server tags added to maven settings (~/.m2/settings.xml)

vers>
<server>
 <id>teamcity.s3.release</id>
 <username>AWS_ACCESS_KEY_ID</username>
 <password>AWS_SECRET_ACCESS_KEY</password>
/server>
server>
 <id>teamcity.s3.snapshot</id>
 <username>AWS_ACCESS_KEY_ID</username>
 <password>AWS_SECRET_ACCESS_KEY</password>
/server>
server>
vers>

Prepare release and perform:

release:clean release:prepare
release:perform

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.