Interface CommonContext

    • Method Detail

      • getBuildKey

        @NotNull
        @NotNull BuildKey getBuildKey()
      • getEntityId

        long getEntityId()
      • getEntityGroupId

        Long getEntityGroupId()
        Returns id of a group entity belongs to. E.g. returns deployment project's id if entity is a deployment environment.
        Returns:
        id of entity group or null if not applicable.
      • getEntityKey

        Key getEntityKey()
      • getDisplayName

        String getDisplayName()
        A human friendly description of what is being built.
        Returns:
      • getArtifactContext

        @NotNull
        @NotNull CommonArtifactContext getArtifactContext()
        Returns:
        Artifact data associated with plan or deployment
      • getErrorCollection

        @NotNull
        @NotNull ErrorCollection getErrorCollection()
        Any errors associated with the build
      • getVariableContext

        @NotNull
        @NotNull VariableContext getVariableContext()
      • getTriggerReason

        @NotNull
        @NotNull TriggerReason getTriggerReason()
        The reason this build was triggered
        Returns:
        triggerReason
      • isVerboseLoggingOn

        boolean isVerboseLoggingOn()
        Controls the amount of logging during the execution. Some of the logging is only output in verbose mode.
        Returns:
        true if verbose logging is enabled.
        Since:
        7.2
      • isExpectingCustomDedicatedAgent

        boolean isExpectingCustomDedicatedAgent()
        If this job is expected to be built on a custom dedicated agent