...
You have to use the GREENSPECTOR CLI commands to configure the measure to launch. If you need more detail on GREENSPETOR click on GREENSPECTOR CLI .
In the 'Execute shell' block, you have to do :
- Set your GREENSPECTOR instance and token. Use the secret you have previously configured.
Code Block gspt init -a https://app.greenspector.com/api -p $MY_GREENSPECTOR_PRIVATE_TOKEN
- Set the GREENSPECTOR application and version in which you want to send measures. We set, for the version, the date of the day but you can use any build number of your application.
Code Block gspt initprojectconfiguration --application "greenspector.com" --version "$(date '+%d-%m-%Y')"
Set the device on which the measures will be launched. For example a Galaxy S7.
Code Block gspt testbench set-environment --environment "mobile::android::8::Samsung - Galaxy S7"
To have a list of all available devices on which you can send measures, you can use the GREENSPECTOR CLI on your PC for example :
The command 'gspt testbench set-environment ' gives gthe the list
Then you have to replace the android version and the device name in the previous command. For example to send measure on Galaxy S9 android 10 ,
...
If the test launch is a benchmark, you can go to the 'Dashboard' tab :
You can consult view all the measures :
You can consult view the evolution of for each version :