/remote-device-client

Bitbar Remote Device Client

Primary LanguageJavaApache License 2.0Apache-2.0

Bitbar Remote Device Client

Language grade Current Release License

Usage

Run syntax

java -jar <JAR_WITH_DEPENDENCIES_PATH> \
     -cloudurl <BACKEND_URL> \
     -apikey <APIKEY> \
     -device <DEVICE_MODEL_ID> \
     <COMMAND>

Parameters

  • cloudurl
    URL to Bitbar Testing backend
  • apikey
    api key used to authenticate with Bitbar Testing
  • device
    id of device model to connect

Commands

  • devices
    display list of available devices which have remote device enabled
  • connect
    connect to a device, requires -device option

Example

java -jar remote-device-client.jar \
     -cloudurl https://cloud.bitbar.com/cloud \
     -apikey XXXXXXX \
     -device 172 \
     connect

Running With Maven

Use the exec:java goal and -Dexec.args to pass arguments.

Example

mvn compile exec:java "-Dexec.args=-cloudurl https://cloud.bitbar.com/cloud -apikey XXXXXXXX -device 209 connect"

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.