Skip to content

Gradle plugin to produce test output in Teamcity Service Message format

License

Notifications You must be signed in to change notification settings

sa1nt/docker-gradle-teamcity-plugin

Repository files navigation

docker-gradle-teamcity-plugin

Gradle plugin to produce test output in Teamcity Service Message format, inspired by Jest Teamcity reporter.

The idea is that when your build happens inside a Docker container on Teamcity, you generally need to populate the test report to Teamcity so it could show you test results.

Alternatively you can enable this plugin, which, if TEAMCITY_VERSION env variable is present, will produce test results in the Teamcity Service Message format.

Usage

See Gradle Plugin portal

build.gradle

plugins {
  id "io.github.sa1nt.docker-teamcity" version "0.1.5"
}

build.gradle.kts

plugins {
    id("io.github.sa1nt.docker-teamcity") version "0.1.5"
}

Optionally

You can override the env variable name the plugin uses to determine whether we're on Teamcity by

build.gradle or build.gradle.kts

dockerTeamcity {
  envVarName = "SOME_VAR"
}

About

Gradle plugin to produce test output in Teamcity Service Message format

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages