jenkinsci / jenkinsci/workflow-basic-steps-plugin

[JENKINS-55140] Allow to unstash all stashes with a single command

Open
#478 0 comments 0 reactions 0 assignees View on GitHub
component:workflow-basic-steps-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
73
Forks
129
PR merge metrics
No merged PRs in 30d

Description

In our pipeline jobs we run ~100 tasks that run on different agents.

We are using stash() to collect a result file from each task.

At the end of the pipeline we unstash all and summarize the results.

Currently it's only possible by calling unstash() for each previous stash with the stash name.

It would be handy if it would be possible to either:



  • unstash all stashes with a single command, without having to specify stash names

  • being able to pass a regex to unstash() to match names, this regex could also support to unstash all stashes

---
Originally reported by fho, imported from: Allow to unstash all stashes with a single command


  • status: Open
  • priority: Minor
  • component(s): workflow-basic-steps-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 1
  • imported: 20251215-220547

Raw content of original issue

In our pipeline jobs we run ~100 tasks that run on different agents.
We are using stash() to collect a result file from each task.
At the end of the pipeline we unstash all and summarize the results.

Currently it's only possible by calling unstash() for each previous stash with the stash name.

It would be handy if it would be possible to either:



  • unstash all stashes with a single command, without having to specify stash names

  • being able to pass a regex to unstash() to match names, this regex could also support to unstash all stashes


Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.