Giter Club home page Giter Club logo

teamcity-sauce-ondemand-plugin's Introduction

Sauce Labs TeamCity Plugin

Build Status

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

  • Specify the browsers versions and operating systems you want your tests to run against
  • Automate the setup and tear down of Sauce Connect, which enables you to run your Selenium tests against local websites using Sauce Labs
  • Integrate the Sauce results videos within the TeamCity build output

Installation

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

The wiki will always have up to date 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 and the data center your tests and sauce connect will be run on. By default sauce connect will connect to our 'US' data center other options are 'US_EAST' for headless testing and 'EU'.

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)

<servers>
    <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>
<servers>

Prepare release and perform:

mvn release:clean release:prepare
mvn release:perform

teamcity-sauce-ondemand-plugin's People

Contributors

dependabot[bot] avatar halkeye avatar maciejurbanskisaucelabs avatar moizjv avatar pts-davidpark avatar rossrowe avatar seanenright avatar senhorcastor avatar thephilwells avatar yfangsl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.