Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Latest commit

 

History

History
59 lines (41 loc) · 1.49 KB

README.md

File metadata and controls

59 lines (41 loc) · 1.49 KB

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.