jenkinsci / jenkinsci/workflow-basic-steps-plugin

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

オープン
#481 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
component:workflow-basic-steps-plugin imported-jira-issue pipeline priority:minor resolution:unresolved
主要言語
Java
スター
73
フォーク
129
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず workflow-basic-steps-plugin 内で echo ステップの実装とそのテストを見つけ、次に添付された 2 つのスクリーンショットと関連する JENKINS-55410 のリクエストに示されている動作を確認します。長いメッセージではそうしなければ「Print Message」と表示される場合に、echo 出力に任意のラベルを指定でき、パイプラインビューがそのラベルを使用するようになり、新しい動作をテストでカバーできれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
ci-cd
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。