jenkinsci / jenkinsci/workflow-basic-steps-plugin

[JENKINS-58597] Additional Step error with message

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

Description

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?

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.