Class BzlAborted_1_0

  • All Implemented Interfaces:
    com.gradle.scan.eventmodel.EventData

    @BazelVersion(since="1.0")
    @BazelAgentVersion(since="1.0")
    public class BzlAborted_1_0
    extends Object
    implements com.gradle.scan.eventmodel.EventData
    An EventData that is published when the build is aborted.

    There may be more than one instances of this event in a build scan, attached to different targets.

    • Field Detail

      • reason

        public final int reason
        The reason for the abortion. 0 = Unknown reason 1 = The user requested the build to be aborted (e.g., by hitting Ctrl-C) 2 = The build or target was aborted as a timeout was exceeded 3 = The build or target was aborted as some remote environment (e.g. for remote execution of actions) was not available in the expected way 4 = Failure due to reasons entirely internal to the build tool, i.e. an unexpected crash due to programmer error 5 = A failure occurred in the loading phase of a target 6 = A failure occurred in the analysis phase of a target 7 = Target build was skipped (e.g. due to incompatible CPU constraints) 8 = The user requested that no analysis be performed 9 = The user requested that no build be carried out 10 = Build incomplete due to an earlier build failure (e.g. --keep_going was set to false causing the build be ended upon failure) 11 = The build tool ran out of memory and crashed
      • description

        @Nullable
        public final @Nullable String description
        A human readable description with more details about the reason.
    • Constructor Detail

      • BzlAborted_1_0

        public BzlAborted_1_0​(@Nullable
                              @Nullable BzlAbortedOwnerRef_1_0 owner,
                              int reason,
                              @Nullable
                              @Nullable String description)