jenkinsci / jenkinsci/workflow-basic-steps-plugin

[JENKINS-40912] Add verbose option to stash/unstash to get list of files

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

Description

It would be great if we could get more info on stash/unstash so I could see a list of files included. I was recently hit by an apparent unstashing hiccup where 1 file that should have been unstashed was not actually there and it made the subsequent errors rather confusing.

Had there been a list of files in the log that were successfully unstashed then it would have been more clear what the problem was. Perhaps there could even be a validation step to go with this where if the number of files unstashed doesnt match number of stashed files then it logs an error.

---
Originally reported by sparklepony, imported from: Add verbose option to stash/unstash to get list of files


  • assignee: jtaboada
  • status: Open
  • priority: Major
  • component(s): workflow-api-plugin, workflow-basic-steps-plugin
  • label(s): cloudbees-internal-pipeline, stash
  • resolution: Unresolved
  • votes: 14
  • watchers: 18
  • imported: 20251215-220547

Raw content of original issue

It would be great if we could get more info on stash/unstash so I could see a list of files included. I was recently hit by an apparent unstashing hiccup where 1 file that should have been unstashed was not actually there and it made the subsequent errors rather confusing.

Had there been a list of files in the log that were successfully unstashed then it would have been more clear what the problem was. Perhaps there could even be a validation step to go with this where if the number of files unstashed doesnt match number of stashed files then it logs an error.

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.