jenkinsci / jenkinsci/workflow-basic-steps-plugin

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

Offen
#478 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
component:workflow-basic-steps-plugin imported-jira-issue priority:minor resolution:unresolved
Vorherrschende Sprache
Java
Sterne
73
Forks
129
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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


Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

No files or tests are named; start by locating the workflow-basic-steps-plugin implementation and tests for the stash() and unstash() pipeline steps. Resolve whether the intended interface is one command for all stashes or regex-based selection, then verify that the chosen behavior restores the requested stashes.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
devops
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.