Annotation Interface WithOS
@Retention(RUNTIME)
@Target({METHOD,TYPE})
@Inherited
@Documented
@RuleAnnotation(value=RuleImpl.class,
priority=-10)
public @interface WithOS
Indicates that the test and Jenkins instance must be running
on one of the operating systems provided. If this condition is not
met, this test will be skipped.
This check can only be trusted to do its job correctly when tests are being run with a LocalController. When using a different controller, the machine running Jenkins can be different from the one running the tests so the test may pass or fail when it should not. If tests are not being run with a LocalController, the test will be skipped.
-
Nested Class Summary
-
Required Element Summary
-
Element Details
-
os
WithOS.OS[] os
-