| WARNING: Changelogs have been moved to GitHub Releases |
|---|
- PR-127:
JenkinsRule.showAgentLogsutility - PR-128: Work with
version-numberas shipped injenkins-core
- PR-126: Skip
MemoryAssert.assertGC()on JRE > 8
- PR-118: Internal code improvements
- Bump jenkins-test-harness-htmlunit to 2.31-2, which disables JAXP registration of Xalan-J and Xerces (fixes regressions introduced in 2.45 by space in temporary paths because of a Xalan-J bug)
- Use DisableOnDebug’s logic rather than rolling our own
- SUREFIRE-1588 workaround
- JDK 11 upgrades
- Spurious temporary dir name log to
System.errremoved - Fix tests when run under Jenkins 2.x
- Add Configuration-as-Code support to TestCrumbIssuer
- Temporary directories now by default have a space in their path, to flush out path handling mistakes. (The system property
jenkins.test.noSpaceInTmpDirs=truesuppresses this.)
- Extending path shortening fix to users of
RestartableJenkinsRule.
- Shorter temporary directory paths.
- Updated HTMLUnit.
- New convenience methods in
WebClient. - JENKINS-53823 - JDK 11 compatibility.
This is a custom release without HTMLUnit upgrade
- JENKINS-53823 - JDK 11 compatibility.
- Fixing a serialization issue in
MockAuthorizationStrategy.
- JENKINS-49046: Fix
@WithTimeouthandling forJenkinsRule.
- Make
RunLoadCountercompatible with Pipeline (WorkflowJob/WorkflowRun). - Prevent agent processes from stealing focus on OS X.
- Make the
NoListenerConfigurationconstructorpublic.
- JENKINS-50598: ability to run
JenkinsRule-based tests with a custom WAR file. - JENKINS-50590: fix combination of crumbs with existing request parameters.
- Improved
RestartableJenkinsRule.simulateAbruptShutdown.
- JENKINS-50476:: offer a way to assert that Jenkins won't start
Burned
- Added
CLICommandInvoker.Result.stdoutBinaryand.stderrBinary. - Deprecated
PresetData.
RestartableJenkinsRuleutilities to simulate abrupt (i.e., unplanned) shutdowns.
- Added
LoggerRule.recordPackageas a convenience. - Added
LoggerRule.recordedmethods returning matchers to simplify checking for log records. - Added
WebClient.withBasicCredentialsand.withBasicApiTokenmethods to simplify passing authentication to REST requests as an alternative to.login. waitOnlinewithJNLPLauncherfailed rather than waiting.- Do not even try to persist an
Authenticationvia XStream.
- Introduced
RestartableJenkinsRule.createJenkinsRule. - Changed
JenkinsRule.createComputerLauncherto return the more generic typeComputerLauncherrather thanCommandLauncher.
- Avoiding
JenkinsRuleplugin setup error involving excluded optional transitive dependencies.
- Introduced
JenkinsRule.waitOnline, improving diagnostics forcreateSlaveandcreateOnlineSlave. - Issue a friendlier warning for a harmless
@TestExtensionbinary incompatibility issue.
- Fixing a regression in
LoggerRulein 2.26, and improving log appearance further.
- JENKINS-45245: work around incorrect Maven test classpath in IntelliJ IDEA.
- More readable timestamps in log messages during tests.
- Adjust Jetty configuration to use a fixed number of “acceptors” and “selectors”. This has been observed to fix JENKINS-43666-like test failures in some CI environments, depending on the reported number of CPU cores.
- Improve display of messages when using
LoggerRule.
- More reliable test timeout system in
JenkinsRule.
- Added
RestartableJenkinsRule.thenwith a Java 8-friendly signature. - Upgrade to Jetty 9.4.
- JENKINS-41631: removing the Maven Embedder dependency from the harness.
- JENKINS-44453:
JenkinsRuleshould ensure that Jenkins reaches theCOMPLETEDmilestone.
- Make
FakeChangeLogSCMsupportRunrather than justAbstractBuild.
- Fixed a regression in 2.20 affecting especially
InjectedTeston Jenkins 2.x.
- “Detached” plugins in Jenkins 2.x are no longer loaded implicitly during tests. You should declare
test-scoped dependencies on plugins you expect to use during your tests, in the desired versions.TestPluginManager.installResourcePluginhas been removed, andinstallDetachedPluginadded for unusual cases. - Avoid using methods deleted in newer version of HtmlUnit.
waitForMessagecan fail immediately if the build is completed.- Possible to override
JenkinsRule.createWebServermore easily. - Deprecating
CLICommandInvoker.authorizedToin favor of a simplerasUser. - Make Jetty be quiet during functional tests.
- Pick up
jetty-ioandjetty-utilfrom our specified version to avoid conflicts.
- Introduced
allowSoftparameter toassertGC. - Avoid any fixed timeout on
waitUntilNoActivity.
- Fixed
JenkinsComputerConnectorTestersoComputerConnectors can be tested throughJenkinsRule.configRoundTrip. - Improved
MemoryAssert.assertGC: now catches more root references, and can run with the environment variableASSERT_GC_VERBOSE=trueto track downSoftReferenceleaks. - Better report
java.lang.IllegalArgumentException: URI is not hierarchical; generally this is a symptom of a plugin missing a rootindex.jelly.
JenkinsRule.getLogfixed to make fewer assumptions about the implementation ofRun.getLogText.
Not recorded.