Applitools Eyes plugin for TeamCity.
This plugin enables you to get Applitools' tests results directly inside your TeamCity's results page.
The Applitools Plugin causes TeamCity to export the batch ID to the APPLITOOLS_BATCH_ID environment variable. You need to update your tests code to use this ID in order for your tests to appear in the Applitools window in the build results.
In addition, TeamCity exports a suggested batch name to the APPLITOOLS_BATCH_NAME environment variable. Using this batch name is optional (the batch name is used for display purposes only).
Following is a Java code example:
BatchInfo batchInfo = new BatchInfo(System.getenv("APPLITOOLS_BATCH_NAME"));
// If the test runs via TeamCity, set the batch ID accordingly.
String batchId = System.getenv("APPLITOOLS_BATCH_ID");
if (batchId != null) {
batchInfo.setId(batchId);
}
eyes.setBatch(batchInfo);
Tests which will contain the above code, will show the Applitools results window inside TeamCity's tests results page (as can be seen in the screenshot at the top of this document).
If you have any questions or need any assistance in using the plugin, feel free to contact Applitools support at: support [at] applitools dot com.