Skip to content

[JENKINS-64815] stah (or unstash) should offer a flatten option #517

Description

@jenkins-infra-bot

Could it be possible that stash (or unstash... just like copy artifacts has) has a flatten option to stash or unstash files without having to add a dir(){} to extract files from deep directory tree when the directory structure does not need to be preserved  ?


Originally reported by jielpe_fr38, imported from: stah (or unstash) should offer a flatten option
  • status: Open
  • priority: Major
  • component(s): workflow-basic-steps-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251215-220547
Raw content of original issue

Could it be possible that stash (or unstash... just like copy artifacts has) has a flatten option to stash or unstash files without having to add a dir(){} to extract files from deep directory tree when the directory structure does not need to be preserved  ?

  • environment: All versions

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions