jenkinsci / jenkinsci/workflow-basic-steps-plugin
[JENKINS-58597] Additional Step error with message
- 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
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
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