Interface ArtifactsWatcher
-
- All Known Subinterfaces:
ArtifactsWatcherEx
- All Known Implementing Classes:
ArtifactProcessor
public interface ArtifactsWatcher
Can be used to notify agent artifacts publisher about new artifacts to be published during the build
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addNewArtifactsPath(String artifactsPath)
Notifies agent about new path where build artifacts residevoid
waitForPublishingFinish()
Wait for publishing is finish.
-
-
-
Method Detail
-
addNewArtifactsPath
void addNewArtifactsPath(@NotNull String artifactsPath)
Notifies agent about new path where build artifacts reside- Parameters:
artifactsPath
- artifacts path in TeamCity format
-
waitForPublishingFinish
void waitForPublishingFinish()
Wait for publishing is finish. SinceaddNewArtifactsPath(String)
only schedules artifacts publishing if client code should wait for publication finishing it should invoke this method. The method will block until publication is finished, failed or cancelled (for example in case of build interruption)
-
-