Sauce Labs with Bitbucket
Bitbucket is Atlassian's cloud service continuous integration tool. Launch your automated Selenium and Appium tests on Sauce Labs as part of your Bitbucket Pipelines build process.
What You'll Need
- Sauce Labs account Sign Up
- The
SAUCE_USERNAMEandSAUCE_ACCESS_KEYspecific to your Sauce Labs account Find these - Bitbucket account Sign Up
- Bitbucket Pipelines installed on your Bitbucket account Create pipelines
Procedure
- Configure your
bitbucket-pipelines.ymlfile to run your tests using your test runner of choice. - From your Bitbucket dashboard, choose
Settings. - Under
Pipelines, chooseEnvironment Variables. - Add your
SAUCE_USERNAMEandSAUCE_ACCESS_KEYas environment variables.
Once these configurations are complete, when you kick off a build with Bitbucket Pipelines, it runs your tests on Sauce Labs.