×
Find plugins

Pipeline: Basic Steps
2.11Minimum Jenkins requirement: 2.121.1ID: workflow-basic-steps

Commonly used steps for Pipelines.

A component of Pipeline Plugin.

Changelog

2.11 (Sep 10, 2018) - Bleeding-edge Version

  • Requires Jenkins Core 2.121.1 or newer.
  • Fix a file leak introduced in version 2.10 when using writeFile with Base64 encoding.

2.8.2 (Sep 10, 2018) - Stable Version

  • Fix a file leak introduced in version 2.8.1 when using writeFile with Base64 encoding.

2.10 (Aug 21, 2018) - Bleeding-edge Version

  • Requires Jenkins Core 2.121.1 or newer.
  • Adds support to readFile and writeFile for working with binary files by passing Base64 as the encoding. Can be used with Pipeline: Shared Groovy Libraries 2.10 or higher to copy binary files from libraries into the workspace. (JENKINS-52313)

2.8.1 (Aug 21, 2018) - Stable Version

  • Requires Jenkins Core 2.60.3 or newer.
  • Adds support to readFile and writeFile for working with binary files by passing Base64 as the encoding. Can be used with Pipeline: Shared Groovy Libraries 2.10 or higher to copy binary files from libraries into the workspace. (JENKINS-52313)

2.9 (June 15, 2018) - Bleeding-edge release

  • Requires Jenkins Core 2.121.1
  • Support for storing stashes & artifacts off-master if using an appropriate storage implementation via VirtualFile.toExternalUrl (JENKINS-49635)

2.8 (June 15, 2018) - Stable Version

  • Docs: Fixes to the Stash step help (thanks, community contributor Josh Soref!)
  • Docs: Note exception type thrown by Timeout step (thanks, community contributor Dawid Gosławski!)

2.7 (Apr 18, 2018)

  • JENKINS-46180 - Deprecated archive step will log when no files to archive are found.

  • JENKINS-48138 - Log a warning when fileExists is called with an empty string.
  • JENKINS-44379retry will no longer retry on a FlowInterruptedException, such as aborted inputmilestone steps or an aborted run.
  • JENKINS-26521 - Add activity flag to timeout step.

2.6 (Jun 30, 2017)

  • JENKINS-45101 Improved display of step summaries in Blue Ocean for various steps.

2.5 (May 30, 2017)

2.4 (Feb 10, 2017)

  • JENKINS-41276 retry now exits immediately upon receiving a user-initiated build abort.
  • Implemented virtual thread dump status for waitUntil.
  • Simplified some implementations as per JENKINS-39134.

2.3 (Nov 01, 2016)

  • JENKINS-39072 (related to JENKINS-34637): make the timeout step print more information to the log, display status in Thread Dump, and forcibly kill its body after a grace period has elapsed.
  • JENKINS-28385 Added getContext and withContext steps for use in advanced libraries.
  • Warning in documentation regarding JENKINS-38640 & JENKINS-36914.

2.2 (Sep 23, 2016)

  • JENKINS-37397 Allow use of symbols to select the type of a tool.
  • Creating the workspace directory from some steps if the step required it and it did not already exist.
  • Broken documentation link.

2.1 (Jul 28, 2016)

  • JENKINS-29922 Marking step and wrap as “metasteps”, allowing simplified syntax with Pipeline Groovy Plugin 2.10. Correspondingly deprecating the artifact step for Jenkins 2.2+ users.
  • JENKINS-34554 Maximum recurrence period for waitUntil, currently hard-coded.
  • JENKINS-34281 Indicate in the build log if sleep still applies after a Jenkins restart.
  • JENKINS-31842 Indicate in the virtual thread dump if sleep is ongoing.
  • JENKINS-29170 Snippet generation improvements for mail.
  • Some inline help fixes.

2.0 (Apr 05, 2016)

ArchivesGet past versions
Labels