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 Classes Modifier and Type Interface Description static interface
BuildScanPublishingConfiguration.PublishingContext
The context for evaluating conditions that determine whether a build scan should be published at the end of the build.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onlyIf(Spec<? super BuildScanPublishingConfiguration.PublishingContext> predicate)
Specify a condition for when a build scan should be published at the end of the build.
-
-
-
Method Detail
-
onlyIf
void onlyIf(Spec<? super BuildScanPublishingConfiguration.PublishingContext> predicate)
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.
-
-