Package org.jvnet.hudson.test
Class BuildWatcher
java.lang.Object
org.junit.rules.ExternalResource
org.jvnet.hudson.test.BuildWatcher
- All Implemented Interfaces:
- org.junit.rules.TestRule
public final class BuildWatcher
extends org.junit.rules.ExternalResource
Echoes build output to standard error as it arrives.
 Usage: 
@ClassRule public static BuildWatcher buildWatcher = new BuildWatcher();JenkinsRule or RestartableJenkinsRule.- Since:
- 1.607
- See Also:
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.junit.rules.ExternalResourceapply
- 
Constructor Details- 
BuildWatcherpublic BuildWatcher()
 
- 
- 
Method Details- 
before- Overrides:
- beforein class- org.junit.rules.ExternalResource
- Throws:
- Throwable
 
- 
afterprotected void after()- Overrides:
- afterin class- org.junit.rules.ExternalResource
 
 
-