jenkinsci / jenkinsci/workflow-basic-steps-plugin

[JENKINS-58597] Additional Step error with message

Abierto
#492 4 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

As noted in other issues the error() step is not intended to print messages. But there are some use cases where this becomes very helpful. Eg. provides information directly in the blue ocean log; the error step does this sporadic only.

Does it make sense to add another step with fails the build but also prints to the log?

---
Originally reported by ethorsa, imported from: Additional Step error with message


  • status: Open
  • priority: Minor
  • component(s): workflow-basic-steps-plugin
  • resolution: Unresolved
  • votes: 2
  • watchers: 3
  • imported: 20251215-220547

Raw content of original issue

As noted in other issues the error() step is not intended to print messages. But there are some use cases where this becomes very helpful. Eg. provides information directly in the blue ocean log; the error step does this sporadic only.

Does it make sense to add another step with fails the build but also prints to the log?

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza examinando el punto de entrada del paso error() existente y cómo aparecen sus mensajes en los logs de Jenkins y Blue Ocean. Aclara el comportamiento del paso propuesto, incluido cómo debe hacer que falle el build mientras imprime un mensaje, y después define pruebas que verifiquen ambos resultados.

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

Evaluación

Stack tecnológico
java
Área
ci-cd
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.