jenkinsci / jenkinsci/workflow-basic-steps-plugin

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

Abierto
#478 0 comentarios 0 reacciones 0 asignados Ver en GitHub
component:workflow-basic-steps-plugin imported-jira-issue priority:minor resolution:unresolved
Lenguaje dominante
Java
Estrellas
73
Forks
129
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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


Guía de contribución

Abrir la guía de contribución

Línea de trabajo

No se nombran archivos ni pruebas; empieza por localizar la implementación y las pruebas de workflow-basic-steps-plugin para los pasos de pipeline stash() y unstash(). Determina si la interfaz prevista es un único comando para todos los stashes o una selección basada en expresiones regulares, y luego verifica que el comportamiento elegido restaure los stashes solicitados.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
devops
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.