|
For MSBuild, TeamCity provides the following service tasks that implement the same options as the service messages: TeamCitySetBuildNumberTeamCitySetBuildNumber allows user to change BuildNumber: <TeamCitySetBuildNumber BuildNumber="1.3_{build.number}" />
It is possible to use '{build.number}' as a placeholder for older build number. TeamCityProgressMessageTeamCityProgressMessage allows you to write progress message. <TeamCityProgressMessage Text="Progress message text" />
TeamCityPublishArtifactsTeamCityPublishArtifacts allows you to publish all artifacts taken from MSBuild item group <ItemGroup>
<Files Include="*.dll" />
</ItemGroup>
<TeamCityPublishArtifacts SourceFiles="@(Files)" />
TeamCityReportStatsValueTeamCityReportStatsValue is a handy task to publish statistic values <TeamCityReportStatsValue Key="StatsValueType" Value="42" /> TeamCitySetStatusTeamCitySetStatus is a task to change current status text and/or message <TeamCitySetStatus Status="ERROR" Text="ZZZ" /> *'{build.status.text}' is substituted with older status text. |