Development Notes - rossrowe/sauce-grid-plugin GitHub Wiki
Building and Deploying
The plugin is built with Maven
To compile, run the tests and package a jar, run:
mvn package
To deploy a new version of the plugin to the Sauce Labs Maven repository, run
mvn release:prepare
which will prompt you to enter the version number and tag, then enter
mvn release:perform
which will deploy the Jar file to the repository.
Development
The core class for the plugin is com.saucelabs.grid.SauceOnDemandRemoteProxy
which handles responding to requests to facilitate Selenium tests from the Grid server.
The com.saucelabs.grid.SauceOnDemandRemoteProxy#compareTo
method controls the order in which the SauceOnDemandRemoteProxy instance is processed by the grid server with regards to any other local Node instances.