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

bitbar/remote-device-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.