jenkinsci / jenkinsci/workflow-basic-steps-plugin

[JENKINS-55612] Add optional label attribute for echo step to improve usability

Offen
#481 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
component:workflow-basic-steps-plugin imported-jira-issue pipeline priority:minor resolution:unresolved
Vorherrschende Sprache
Java
Sterne
73
Forks
129
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Similar to JENKINS-55410">JENKINS-55410

Why?

Seemingly if the message for echo step is too long, it solely prints "Print Message" in pipeline view, while for short messages it prints the message nicely: vs.

For the latter I would like to set an optional label to e.g. "PhpStorm inspection results".

---
Originally reported by reinholdfuereder, imported from: Add optional label attribute for echo step to improve usability


  • assignee: bitwiseman
  • status: Open
  • priority: Minor
  • component(s): workflow-basic-steps-plugin
  • label(s): pipeline
  • resolution: Unresolved
  • votes: 0
  • watchers: 5
  • imported: 20251215-220547

Raw content of original issue

Similar to JENKINS-55410

Why?

Seemingly if the message for echo step is too long, it solely prints "Print Message" in pipeline view, while for short messages it prints the message nicely: vs.

For the latter I would like to set an optional label to e.g. "PhpStorm inspection results".

  • environment: The greatest and latest official releases

2 attachments

- [image-2019-01-16-07-21-46-096.png](https://issues.jenkins.io/secure/attachment/45731/image-2019-01-16-07-21-46-096.png)
> ![image-2019-01-16-07-21-46-096.png](https://issues.jenkins.io/secure/attachment/45731/image-2019-01-16-07-21-46-096.png)
- [image-2019-01-16-07-22-30-193.png](https://issues.jenkins.io/secure/attachment/45730/image-2019-01-16-07-22-30-193.png)
> ![image-2019-01-16-07-22-30-193.png](https://issues.jenkins.io/secure/attachment/45730/image-2019-01-16-07-22-30-193.png)

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by locating the echo step implementation and its tests in workflow-basic-steps-plugin, then review the behavior illustrated by the two attached screenshots and the related JENKINS-55410 request. Done means an optional label can be supplied for echo output and the pipeline view uses it when long messages would otherwise show "Print Message," with coverage for the new behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
ci-cd
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.