×
Find plugins

Pipeline: Nodes and Processes2.17Minimum Jenkins requirement: 2.60.3ID: workflow-durable-task-step

Pipeline steps locking agents and workspaces, and running external processes that may survive a Jenkins restart or agent reconnection.

A component of Pipeline Plugin.

Changelog

2.17 (Oct 13, 2017)

  • JENKINS-42264 Feature: Add links to build nodes that pipelines are running on
  • JENKINS-26148 Use default implementation of StepExecution.stop
  • Fix: Use a dedicated Thread pool rather than Timer.get for DurableTask.Execution.check - avoid using up all Timer threads  (PR #53)

2.16 (Oct 13, 2017)

  • JENKINS-46738  Fix a deadlock that can occur with the PlaceHolderTasks used to claim an executor for a pipeline

2.15 (Aug 30, 2017)

  • Update to the JENKINS-36013 fix to ensure the timeout applies to resuming builds for ALL node types where the node doesn't exist
    • Covers a few edge cases with EphemeralNodes

2.14 (Aug 23, 2017)

  • JENKINS-36013 - Prevent Jenkins from spinning indefinitely trying to resume a build where the Agent is an EphemeralNode and will never come back
    • Also covers cases where the node was removed by RetentionPolicy because it is destroyed, by aborting after a timeout (5 minutes by default)
      • This ONLY happens if the Node is removed, not for simply disconnected nodes, and only is triggered upon restart of the master
    • Added System property 'org.jenkinsci.plugins.workflow.support.pickles.ExecutorPickle.timeOutForNodeMillis' for how long to wait before aborting builds
  • JENKINS-45553 - Fix a bug from use of Guice
    • Optimize Action lookup when displaying executors used

2.13 (July 25, 2017)

  • JENKINS-26132 Display current stage on executor.
  • JENKINS-44981 Record information on queued task for reporting.

2.12 (Jun 15, 2017)

  • JENKINS-34581 Added a powershell step.
  • JENKINS-28182 Kill any spawned processes at the end of a node block.

2.11 (Apr 25, 2017)

  • Reduce log output to ameliorate JENKINS-42048.
  • Added logging for ExecutorPickle.

2.10 (Mar 09, 2017)

  • JENKINS-42556 Failure to resume builds inside node when anonymous was granted Overall/Read and Job/Discover but not Job/Read (a mode used to force login redirects from job URLs).
  • JENKINS-34021 Refinements to earlier fix, which under circumstances produced excessive noise in the log after forcible termination of a build inside sh/bat.

2.9 (Feb 13, 2017)

2.8 (Jan 13, 2017)

2.7 (Jan 10, 2017)

  • JENKINS-40909 regression from 2.6 fixed. Only meaningful for updates directly from 2.5-; if you have already updated to 2.6 it is too late.

2.6 (Jan 05, 2016)

Running builds created in 2.5- will not be loadable in this release: JENKINS-40909

  • JENKINS-40613 Apply a stricter timeout to the Timer task used by sh/bat steps to check for new output.
  • JENKINS-37730 Include more diagnostics in the virtual thread dump for sh/bat steps.
  • JENKINS-38769 Make sure aborting a build inside a sh/bat step does something, even if the agent is unresponsive.
  • JENKINS-37486 NullPointerException thrown when aborting a build under unknown conditions.

2.5 (Sep 23, 2016)

  • JENKINS-33511 WORKSPACE and NODE_LABELS environment variables now available inside node, matching the behavior of freestyle projects.
  • JENKINS-37121 Unreproducible case of a build resumption hanging when it should have failed at once.
  • Unreproducible case of an executor slot remaining occupied but unkillable after the owning build was already aborted; can now be manually cleared.
  • Clearer display in log when a queue item is canceled while a build is trying to resume.

2.4 (Jul 28, 2016)

  • JENKINS-26133 Added returnStdout and returnStatus options to sh and bat.

2.3 (Jun 29, 2016)

  • JENKINS-31842 Provide information about node and sh/bat steps for use in the thread dump.
  • JENKINS-26130/JENKINS-31842 Provide information in the thread dump about pending node step resumption when a build is being restored from disk.

2.2 (Jun 16, 2016)

  • JENKINS-26130 When a build cannot be properly resumed because an agent it was running on (inside node) is no longer present, or offline, print periodic status messages to the build log rather than hanging silently. Also allow the build to be interrupted cleanly if the agent cannot be reattached.
  • JENKINS-34021 Work around and diagnostics for a NullPointerException when trying to abort a build inside a sh/bat step.

2.1 (Jun 09, 2016)

  • JENKINS-34281 workaround: if Jenkins denied anonymous read access, under some conditions shutting it down could result in loss of queue items, causing builds with node still waiting scheduling to hang after the restart.
  • If a queue item for a node block is deliberately cancelled, abort the build.
  • JENKINS-34542 Deadlock while interrupting a node step.
  • JENKINS-28240 IllegalStateException was thrown under some conditions.

2.0 (Apr 05, 2016)

ArchivesGet past versions
Labels