Interface DetachedBuildStatusProvider
-
- All Superinterfaces:
TeamCityExtension
public interface DetachedBuildStatusProvider extends TeamCityExtension
Can be used on server to report updates to a detached build and finally finish it- Since:
- 2020.2.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accepts(SRunningBuild build, java.lang.String trackingInfo)
Returns true if this provider can report information about the specified buildjava.lang.String
getDescription()
void
updateBuild(SRunningBuild build, java.lang.String trackingInfo)
Adds messages, status, etc to the build or finish it
-
-
-
Method Detail
-
getDescription
@NotNull java.lang.String getDescription()
- Returns:
- human-readable description
-
accepts
boolean accepts(@NotNull SRunningBuild build, @Nullable java.lang.String trackingInfo)
Returns true if this provider can report information about the specified build- Parameters:
build
- build to checktrackingInfo
- optional additional info reported in ##teamcity[buildDetachedFromAgent...] service message- Returns:
- see above
-
updateBuild
void updateBuild(@NotNull SRunningBuild build, @Nullable java.lang.String trackingInfo)
Adds messages, status, etc to the build or finish it- Parameters:
build
- build to checktrackingInfo
- optional additional info reported in ##teamcity[buildDetachedFromAgent...] service message
-
-