Class BuildUpstreamNodeAction

  • All Implemented Interfaces:
    Action, ModelObject

    public class BuildUpstreamNodeAction
    extends InvisibleAction
    Attached to newly-created builds in order to point back to the triggering FlowNode. We annotate the downstream build instead of upstream in order to support no-wait builds, because the downstream run id is not available when they're still queued. Needed for Blue Ocean to annotate the correct step. See #JENKINS-38339
    • Constructor Detail

      • BuildUpstreamNodeAction

        public BuildUpstreamNodeAction​(org.jenkinsci.plugins.workflow.graph.FlowNode node,
                                       Run<?,​?> invokingRun)
    • Method Detail

      • getUpstreamNodeId

        public String getUpstreamNodeId()
      • getUpstreamRunId

        public String getUpstreamRunId()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object