Skip to main content

Working With AppVeyor

Configuring the Applitools CI/CD Integration

  1. 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
    }
  2. On your project page, click SETTINGS.

  3. On the left panel, select Environment, and in the Environment Variables section click Add Variable.

  4. In the Name field, enter APPLITOOLS_API_KEY.

  5. 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.

  6. Click Save.