-
ClassDescriptionUse
GroovyJenkinsRule
instead.New code should useJenkinsRule
.New code should useJenkinsRule
.UseMockAuthorizationStrategy
plusMockFolder
instead.
-
Annotation InterfaceDescriptionUsing a 2.x parent POM, Surefire will be configured to retry failing tests automatically. If the test fails consistently,
Ignore
it.Authentication modes are better defined in code usingJenkinsRule.createDummySecurityRealm()
andMockAuthorizationStrategy
.
-
FieldDescriptionUse
HudsonTestCase.pluginManager
UseJenkinsRule.pluginManager
-
MethodDescriptionRather use
CLICommandInvoker.asUser(java.lang.String)
.This method expects a full URL. This method is marked as deprecated to warn you that you probably should be usingHudsonTestCase.WebClient.goTo(String)
method, which accepts a relative path within the Hudson being tested. (IOW, if you really need to hit a website on the internet, there's nothing wrong with using this method.)secret is used by default when using newer versions of Remotingsecret is used by default when using newer versions of RemotingUseTemporaryFolder
instead.This method expects a full URL. This method is marked as deprecated to warn you that you probably should be usingJenkinsRule.WebClient.goTo(String)
method, which accepts a relative path within the Hudson being tested. (IOW, if you really need to hit a website on the internet, there's nothing wrong with using this method.)No longer needed.
-
ConstructorDescription
RealJenkinsRule