https://github.com/bitbar/remote-device-client
Bitbar Remote Device Client
https://github.com/bitbar/remote-device-client
adb bitbar bitbar-cloud java maven testdroid
Last synced: about 1 year ago
JSON representation
Bitbar Remote Device Client
- Host: GitHub
- URL: https://github.com/bitbar/remote-device-client
- Owner: bitbar
- License: apache-2.0
- Archived: true
- Created: 2018-11-29T12:14:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-11-30T14:19:42.000Z (over 4 years ago)
- Last Synced: 2024-11-13T22:35:07.628Z (over 1 year ago)
- Topics: adb, bitbar, bitbar-cloud, java, maven, testdroid
- Language: Java
- Size: 60.5 KB
- Stars: 4
- Watchers: 10
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bitbar Remote Device Client
[](https://lgtm.com/projects/g/bitbar/remote-device-client/context:java)
[](https://github.com/bitbar/remote-device-client/releases)
[](https://github.com/bitbar/remote-device-client/blob/master/LICENSE)
## Usage
**Run syntax**
```sh
java -jar \
-cloudurl \
-apikey \
-device \
```
**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**
```sh
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**
```sh
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](LICENSE) file for details.