Book Image

Learning Continuous Integration with TeamCity

Book Image

Learning Continuous Integration with TeamCity

Overview of this book

Table of Contents (19 chapters)
Learning Continuous Integration with TeamCity
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Interacting with TeamCity from build scripts


It is possible to send information (and commands) about the build from the build scripts to TeamCity. This information can be about tests, statistics, build status, and so on.

Tip

More detailed information about build script interaction with TeamCity can be obtained from the documentation located at http://confluence.jetbrains.com/display/TCD8/Build+Script+Interaction+with+TeamCity.

This feature is especially useful when we are using a tool that is not (yet) supported by TeamCity, and hence we do not get the tight integration, such as information regarding the tests being run, and so on.

Such interactions from the build scripts to TeamCity can be done in two ways, which are discussed in the next two sections.

Service messages

Service messages are essentially pieces of text that are the output from the build script flowing into the standard output of the build process. Service messages adhere to a particular format expected by TeamCity, which, in general...