jenkinsci / jenkinsci/java-client-api

ChangeSet returns null for Pipeline Jobs

オープン
#272 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
913
フォーク
466
PR マージ指標
30日以内にマージされた PR はありません

説明

We've come across an inconsistency in the Jenkins API for freestyle jobs vs pipeline jobs due to an issue raised on one of our projects TransFICC/transficc-feedback#4

The Jenkins API returns ```changetSet``` for a freestyle job build whilst for a pipeline job build it returns ```changeSets```. This means I can't get the change set information for a pipeline job unfortunately.

I am going to see if there is a nice way of being able to deal with this inconsistency in the library, but this ultimately feels like a Jenkins bug to me.

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

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

調査の方向性

Start by tracing how the Java client reads Jenkins build change-set data, comparing handling of the freestyle `changetSet` field with the pipeline `changeSets` field described here. Done means pipeline job builds expose their change-set information instead of returning null; add or run a focused regression test if the repository has coverage for build parsing.

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

評価

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

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

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