with Jenkins
Deprecated
Set jenkins.useTestHarness = true on the suite directly. Will be removed in 0.13.0.
Replace with
import com.mkobit.jenkins.pipelines.jenkins
Content copied to clipboard
jenkins.useTestHarness = trueContent copied to clipboard
Opts suite into full Jenkins test-harness wiring.
Prefer setting jenkins.useTestHarness = true directly on the suite inside its register<JvmTestSuite> block — it is idempotent and does not require a reference to sharedLibrary:
register<JvmTestSuite>("integrationTestKotest") {
jenkins.useTestHarness = true
}Content copied to clipboard