forked from JetBrains/TeamCity.ServiceMessages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
32 lines (21 loc) · 1.13 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
TeamCity.ServiceMessages .NET library.
======================================
This library provides read/write access to TeamCity Service messages.
Take a look at the description of service messages at
http://confluence.jetbrains.net/display/TCD7/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-ServiceMessages
Usage:
======
Most use cases are covered in tests.
To create service message use: JetBrains.TeamCity.ServiceMessages.Write.ServiceMessageFormatter.FormatMessage
To parse service messages use: JetBrains.TeamCity.ServiceMessages.Read.ServiceMessageParser.ParseServiceMessages
There is an API to generate TeamCity specific service messages, use: JetBrains.TeamCity.ServiceMessages.Write.Special.ITeamCityWriter
to get the instance of the object create an instance of the factory and get it by:
new JetBrains.TeamCity.ServiceMessages.Write.Special.TeamCityServiceMessages().CreateWriter()
Misc:
=====
I use TeamCity to compile and publish my package:
http://teamcity.codebetter.com/project.html?projectId=project155&tab=projectOverview
Licanse:
========
Apache 2.0.
See LICENSE.txt.