Skip to content

Repository files navigation

TestingBot TeamCity Plugin

CI

This plugin allows you to integrate TestingBot with TeamCity (2024.12 or newer). Features of this plugin:

  • Automate the setup and tear down of TestingBot Tunnel, which allows you to run automated tests on internal websites.
  • Integrate TestingBot videos, screenshots and logs within the TeamCity build output.

Installation

Download the plugin zip from the GitHub Releases page (or install it from the JetBrains Marketplace) and upload it via Administration | Plugins in TeamCity, or copy it into your ~/.BuildServer/plugins directory.

For more information, please see https://testingbot.com/support/other/teamcity

Usage

The plugin provides a 'TestingBot Build Feature' which can be added to a TeamCity build.

Enter your TestingBot key and secret in the plugin's settings overview.

In order to integrate your TestingBot tests with the TeamCity build, you will need to include the following output for every test:

TestingBotSessionID=SESSION_ID

where SESSION_ID is the webdriver session id.

Development

Requirements: JDK 17 (the code targets Java 11 bytecode).

./gradlew build

The plugin zip is created at testingbot-teamcity-server/build/distributions/testingbot-teamcity-<version>.zip.

Run the tests with ./gradlew test.

Release process

Releases are automated through GitHub Actions. Push a version tag:

git tag v2.0.0
git push origin v2.0.0

The release workflow builds the plugin, generates a build provenance attestation (via GitHub OIDC — verify with gh attestation verify <zip> --repo testingbot/testingbot-teamcity-plugin), attaches the zip to a GitHub Release, and publishes it to the JetBrains Marketplace.

Marketplace publishing requires the JETBRAINS_MARKETPLACE_TOKEN repository secret (a permanent token created at https://plugins.jetbrains.com/author/me/tokens). Note: the very first Marketplace upload must be done manually through the Marketplace web UI; the automated publishPlugin step can only update an existing listing.

About

Plugin to integrate TestingBot.com automated testing with TeamCity

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages