Working With AppVeyor
Configuring the Applitools CI/CD Integration
-
In the
appveyor.yml
file, add the following line in the init section:init:
-ps: $env: APPLITOOLS_BATCH_ID =
if ($env: APPVEYOR_PULL_REQUEST_HEAD_COMMIT) {
$env: APPVEYOR_PULL_REQUEST_HEAD_COMMIT
}
else {
$env: APPVEYOR_REPO_COMMIT
} -
On your project page, click SETTINGS.
-
On the left panel, select Environment, and in the Environment Variables section click Add Variable.
-
In the Name field, enter
APPLITOOLS_API_KEY
. -
In the Value field, enter the value of your API key. To obtain the value of your API key, see How to obtain your API key.
-
Click Save.