Skip to content

saucelabs/jenkins-sauce-ondemand-plugin

 
 

Sauce OnDemand

This plugin allows you to integrate Sauce Selenium Testing with Jenkins. Specifically, you can:

  • Automate the setup and tear down of Sauce Connect
  • Integrate the Sauce Labs result videos per test

Configuration

After installing a plugin, specify your Sauce Labs access credentials in the Manage Credentials page as follows:

Once this is set, on each job configuration page, you can tell Jenkins to launch a Sauce Connect Proxy instance for the duration of the build. For more details about the concept of secure connection in the context of Sauce Labs, see the documentation.

Embedded Test Reports

You can show an embedded Sauce Labs test report on the test result pages in Jenkins. To enable this, check 'Embed Sauce OnDemand reports' as part of the 'Publish JUnit test result report section'.

In addition, you will need to output the following line to your for each test that is run using Sauce Labs:

SauceOnDemandSessionID=YOUR_SESSION_ID job-name=YOUR_JOB_NAME

where YOUR_SESSION_ID is the SeleniumRC/WebDriver session id and YOUR_JOB_NAME is the name of the test being executed.

Issue Tracking

Please raise any issues you find with the plugin or requests for additional features within the plugin's Jira instance.

Contributing

Refer to our contribution guidelines.

Changelog

See https://github.com/saucelabs/jenkins-sauce-ondemand-plugin/blob/master/CHANGELOG.md

About

Jenkins sauce-ondemand plugin

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 90.9%
  • CSS 4.6%
  • HTML 3.9%
  • Other 0.6%