Packages

sealed trait BuildScan extends AnyRef

The configuration for Build Scan publication.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BuildScan
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def backgroundUpload: Boolean

    Specifies whether to upload the build scan in background after the build has finished.

    Specifies whether to upload the build scan in background after the build has finished.

    Defaults to

    true
    
    .

    This allows the build to finish sooner, but can be problematic in build environments that terminate as soon as the build is finished as the upload may be terminated before it completes. Background uploading should be disabled for such environments.

    This setting can also be set by the

    develocity.scan.uploadInBackground
    
    system property, which, if set, takes precedence over any value set by this method and the default.

    develocity.scan.uploadInBackground which, if set, takes precedence over any value set by this method and the default.

    true

    This allows the build to finish sooner, but can be problematic in build environments that terminate as soon as the build is finished as the upload may be terminated before it completes. Background uploading should be disabled for such environments.

    This setting can also be set by the

    develocity.scan.uploadInBackground
    
    system property, which, if set, takes precedence over any value set by this method and the default.

    develocity.scan.uploadInBackground which, if set, takes precedence over any value set by this method and the default.

  2. abstract def capture: Capture

    Specifies what data will be captured as part of the build scan.

  3. abstract def links: Map[String, URL]

    The named links for the current build.

  4. abstract def obfuscation: Obfuscation

    Functions for obfuscating certain identifying information within build scans.

  5. abstract def publishing: Publishing

    Specifies when the build scan should be published.

    Specifies when the build scan should be published.

    Defaults to always publishing the build scan (

    Publishing.onlyIf(_ => true)
    
    ).

    Publishing.onlyIf(_ => true)

  6. abstract def tags: Set[String]

    The tags for the current build.

  7. abstract def termsOfUse: Option[(URL, Boolean)]

    The location of the Gradle Terms of Use and whether they were agreed to.

  8. abstract def values: Map[String, String]

    The named values for the current build.

  9. abstract def withBackgroundUpload(backgroundUpload: Boolean): BuildScan

    Create a copy of this configuration with a new configuration for background upload.

    Create a copy of this configuration with a new configuration for background upload.

    backgroundUpload

    Whether the build scan should be uploaded in background.

    returns

    A copy of this configuration with a new configuration for background upload.

    See also

    backgroundUpload

  10. abstract def withCapture(capture: Capture): BuildScan

    Creates a copy of this configuration with new capture configuration.

    Creates a copy of this configuration with new capture configuration.

    capture

    The new capture configuration.

    returns

    A copy of this configuration with new capture configuration.

    See also

    capture

  11. abstract def withLink(link: String, url: URL): BuildScan

    Create a copy of this configuration with the new link added.

    Create a copy of this configuration with the new link added.

    link

    The name of the link.

    url

    The URL of the link.

    returns

    A copy of this configuration with the new link added.

    Since

    1.1.2

    See also

    links

  12. abstract def withLinks(links: Map[String, URL]): BuildScan

    Create a copy of this configuration with new links.

    Create a copy of this configuration with new links.

    links

    The new links for the build scan.

    returns

    A copy of this configuration with new links.

    See also

    links

  13. abstract def withObfuscation(obfuscation: Obfuscation): BuildScan

    Create a copy of this configuration with new functions for obfuscating certain identifying information.

    Create a copy of this configuration with new functions for obfuscating certain identifying information.

    obfuscation

    The new obfuscation functions.

    returns

    A copy of this configuration with new functions for obfuscating certain identifying information.

    See also

    obfuscation

  14. abstract def withPublishing(publishing: Publishing): BuildScan

    Create a copy of this configuration with the new publishing configuration.

    Create a copy of this configuration with the new publishing configuration.

    publishing

    The new publishing configuration

    returns

    A copy of this configuration with the new publishing configuration.

  15. abstract def withTag(tag: String): BuildScan

    Create a copy of this configuration with the new tag added.

    Create a copy of this configuration with the new tag added.

    tag

    The new tag to add to the build scan.

    returns

    A copy of this configuration with the new tag added.

    Since

    1.1.2

    See also

    tags

  16. abstract def withTags(tags: Set[String]): BuildScan

    Create a copy of this configuration with new tags.

    Create a copy of this configuration with new tags.

    tags

    The new tags for the build scan.

    returns

    A copy of this configuration with new tags.

    See also

    tags

  17. abstract def withTermsOfUse(termsOfUse: (URL, Boolean)): BuildScan

    Create a copy of this configuration with new terms of use location and agreement.

    Create a copy of this configuration with new terms of use location and agreement.

    termsOfUse

    The new terms of use location and agreement.

    returns

    A copy of this configuration with new terms of use location and agreement.

    Since

    1.1.2

    See also

    termsOfUse

  18. abstract def withTermsOfUse(termsOfUse: Option[(URL, Boolean)]): BuildScan

    Create a copy of this configuration with new terms of use location and agreement.

    Create a copy of this configuration with new terms of use location and agreement.

    termsOfUse

    The new terms of use location and agreement.

    returns

    A copy of this configuration with new terms of use location and agreement.

    See also

    termsOfUse

  19. abstract def withValue(key: String, value: String): BuildScan

    Create a copy of this configuration with the new value added.

    Create a copy of this configuration with the new value added.

    key

    The key of the new value.

    value

    The new value.

    returns

    A copy of this configuration with the new value added.

    Since

    1.1.2

    See also

    values

  20. abstract def withValues(values: Map[String, String]): BuildScan

    Create a copy of this configuration with new values attached to the build scan.

    Create a copy of this configuration with new values attached to the build scan.

    values

    The new values to attach to the build scan.

    returns

    A copy of this configuration with new values attached to the build scan.

    See also

    values

  21. abstract def link(link: String, url: URL): BuildScan

    Create a copy of this configuration with the new link added.

    Create a copy of this configuration with the new link added.

    link

    The name of the link.

    url

    The URL of the link.

    returns

    A copy of this configuration with the new link added.

    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.2) Please use withLink instead

    See also

    links

  22. abstract def tag(tag: String): BuildScan

    Create a copy of this configuration with the new tag added.

    Create a copy of this configuration with the new tag added.

    tag

    The new tag to add to the build scan.

    returns

    A copy of this configuration with the new tag added.

    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.2) Please use withTag instead

    See also

    tags

  23. abstract def value(key: String, value: String): BuildScan

    Create a copy of this configuration with the new value added.

    Create a copy of this configuration with the new value added.

    key

    The key of the new value.

    value

    The new value.

    returns

    A copy of this configuration with the new value added.

    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.2) Please use withValue instead

    See also

    values

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped