jenkinsci / jenkinsci/workflow-basic-steps-plugin
[JENKINS-55140] Allow to unstash all stashes with a single command
- 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
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
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