Doing Continuous Integration Testing? Check Out Our CI API

Testing is a key ingredient in CI. And so in the constant effort to make our service insanely flexible and easy to use, we've released a brand new API that will help Continuous Integration servers such as Hudson, Bamboo, and TeamCity send Sauce OnDemand some interesting information about each test they run.

This includes the pass/fail final status of the test, the build number in which it was run, and even your own custom data.

Since some of this new job info is known only when the test finishes (e.g. whether the job passed or not), we've created not only one but two alternative methods for the info to be sent - the REST API and Selenium's standard setContext command. Both are documented in our docs, and anyone interested can use them right now.

Once the info makes it to our end, it will be appropriately displayed with each job, helping our users find and group their jobs with less effort. (Notice that some of the work needed to display this in a cool way is still in our TODO - but the data is there). You can see some example jobs [1] with this data set or just create your own!

In the near future, we'll be working with the authors of the Hudson and Bamboo plugins to add support for these CI APIs.

If you're interested in hearing more, trying early versions of these plugins, or would like to see a plugin for another CI system, feel free to ping us here!

[1] https://saucelabs.com/jobs/4baf3ad0cd8b686ef554135c4addf621, https://saucelabs.com/jobs/0d925d14c23888b8561215360b70a78d

Written by

Santiago Suarez Ordoñez

Topics

CI/CD