Interface BuildScanPublishingConfiguration
public interface BuildScanPublishingConfiguration
Allows configuring when a build scan should be published at the end of the build.
- Since:
- 3.17
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
The context for evaluating conditions that determine whether a build scan should be published at the end of the build. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onlyIf
(Spec<? super BuildScanPublishingConfiguration.PublishingContext> predicate) Specify a condition for when a build scan should be published at the end of the build.
-
Method Details
-
onlyIf
Specify a condition for when a build scan should be published at the end of the build.You may add multiple such predicates. A build scan will be published if any of the predicates return true.
-