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:
Should work in combination with@ClassRule public static BuildWatcher buildWatcher = new BuildWatcher();
JenkinsRule
orRestartableJenkinsRule
.- Since:
- 1.607
- See Also:
JenkinsRule.waitForCompletion(R)
,JenkinsRule.waitForMessage(java.lang.String, R)
,TailLog
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BuildWatcher.Listener
-
Constructor Summary
Constructors Constructor Description BuildWatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
after()
protected void
before()
-