Find plugins

Pipeline: API2.13Minimum Jenkins requirement: 1.642.3ID: workflow-api

Installs: 88412
Last released: 18 days ago

Plugin Information

Plugin that defines Pipeline API.

A component of Pipeline Plugin.


2.12 (Mar 6, 2017)

  • JENKINS-39839 GraphAnalysis visitor fix: missing parallel events in specific nested/incomplete parallel cases
  • JENKINS-39841 GraphAnalysis visitor fix: null StartNode for certain parallel events
  • JENKINS-41685 GraphAnalysis visitor fix: duplicate events with certain parallel structures
  • JENKINS-38536 GraphAnalysis visitor fix: part of fix to timing computation for incomplete parallels - apply ordering to ensure the parallelEnd event triggers on the last parallel branch with activity.
  • Variety of small new GraphAnalysis features, such as sorting Comparators for FlowNodes and a one-step method to get all FlowNodes
  • Harden the GraphAnalysis visitor API guarantees and better documentation of the APIs and their assumptions + guarantees

2.11 (Feb 14, 2017)

  • JENKINS-40771 Race condition when scheduling >1 Pipeline build simultaneously could cause builds to not be recorded in the list of running builds, and thus fail to resume after a restart.
  • JENKINS-39346 Certain kinds of nested exceptions could cause a messy build failure (extends fix made in 2.5).
  • FlowCopier extensions.

2.10 (Feb 7, 2017)

  • Add StepNode so plugins can obtain StepDescriptor information for a FlowNode without requiring a workflow-cps plugin dependency

2.8 (Dec 1, 2016)

  • Fix: JENKINS-38536 Resolve case where SimpleBlockVisitor does not find the correct last branch out of a set of parallels

2.7 (Nov 29, 2016)

  • Fix: JENKINS-38089 Fix a case where special parallel pipelines would break the graph analysis APIs
  • Feature: Add a new TagsAction class to allow attaching metadata (as key-value pairs) to steps as a precursor to JENKINS-39522

2.6 (Nov 07, 2016)

  • JENKINS-39456 Reduce memory usage of execution graph.
  • Clarifying Javadoc of LinearScanner about passing multiple heads.

2.5 (Oct 19, 2016)

  • JENKINS-38867 Improved performance of basic step graph calculations, for example as used by the stage view.
  • JENKINS-34488 Various errors when trying to run assert statements, and under certain other conditions as well.
  • JENKINS-38640 Improved performance of stash on large artifacts.

2.4 (Sep 23, 2016)

  • JENKINS-38458 - Make DepthFirstScanner obey the same ordering rules as FlowGraphWalker, strictly
  • JENKINS-38309 - Make ForkScanner return parallel branches in last->first order for consistency with its general iteration

2.3 (Sep 07, 2016)

2.2 (Aug 25, 2016)

  • Major Feature: new suite of APIs for analyzing the graph of FlowNodes from an execution  (see package contents)
    • New FlowScanner classes, that provide utilities to iterate through, visit, or search FlowNodes in a specific order
      • See JavaDocs for more info
      • LinearScanner (walks through nodes, ignoring all but 1 branch of a parallel: very fast)
      • LinearBlockHoppingScanner - like LinearScanner but jumps over blocks (only sees preceding or inclusing nodes)
      • DepthFirstScanner - visits all nodes, walking to start before visiting side branches (fairly fast).
      • ForkScanner - visits all nodes, providing a linear order of block iteration (all branches in a parallel are visited before continuing)
        • Provides the more complex APIs below.
    • SAX-like API to slice the graph into blocks or runs of nodes ("Chunks") and return information about them.
      • ForkScanner.visitSimpleChunks does this execution
      • SimpleChunkVisitor interface: defines the basic callbacks used, implement this when collecting information.
      • ChunkFinder: defines the boundary conditions for starting & ending a chunk
        • A couple implementations included.
      • Container classes/APIs for collections of FlowNodes (Classes named *FlowChunk)
        • Classes *MemoryFlowChunk offer concrete representations that store FlowNodes in memory
      • StandardChunkVisitor: minimum ChunkVisitor implementation (assumes chunks come one after another, no nesting)
        • Extend me to store lists of chunks. 
  • Fix a NullPointerException with the FlowExecutionList
  • Dev-only: Javadocs & .gitignore changes

2.1 (Jun 16, 2016)

2.0 (Apr 05, 2016)

  • First release under per-plugin versioning scheme. See 1.x changelog for earlier releases.
  • Introduced FilePathUtils.
ArchivesGet past versions