TeamCity Integration

  • Tags : testing, continuous testing
  • Latest : 1.0.3
  • Last Updated: 12 July 2012
  • Grails version : 2.0 > *
2 votes
Dependency :
compile ":teamcity:1.0.3"

Documentation Source Issues

Summary

Provides build status and test run integration with TeamCity

Installation

grails install-plugin teamcity

Description

TeamCity provides several test runners which automatically configure listeners for build events, test events, etc. With these listeners, TeamCity provides real-time test results, test breakage history, and other niceties. Unfortunately, when spawning grails commands such as "grails test-app" the configured listeners aren't passed along to the grails process. This causes the detailed build events to be lost and just generic "Success" and "Failure" messages to be reported for each build.

This plugin hooks into the Grails build event system to notify TeamCity of key events during the build and test process. TeamCity has a Service Message API (http://confluence.jetbrains.net/display/TCD65/Build+Script+Interaction+with+TeamCity) which is parsed from the Build Log of a running process. Any service message detected in the log are stripped from the log and processed by TeamCity for things such as test start and end, failures, etc.

See additional docs at https://github.com/longwa/grails-teamcity