Interface BuildScanPublishingConfiguration


  • public interface BuildScanPublishingConfiguration
    Allows configuring when a build scan should be published at the end of the build.
    Since:
    3.17
    • 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.