jenkinsci / jenkinsci/java-client-api
JENKINS-45898 Proper Multibranch pipeline support
- 主要言語
- Java
- スター
- 913
- フォーク
- 466
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Currently, the Java client api does not have proper support for Multibranch projects. Since these differ a bit from other types of jobs, how to use the Java client api's are not intuitive. The code base does not really take Multibranch projects in to account either. It would preferable if these could be supported out of the box with proper object models.
The current workaround is to mimic the Multibranch job as a folder, such as:
```
FolderJob multibranchRoot = new FolderJob(createdJob.getName(), jenkinsUrl + '/job/' + createdJob.getName() + '/')
def job = jenkins.getJob(multibranchRoot, 'master')
```
コントリビューションガイド
調査の方向性
まず、Java API に既に存在する job と folder のオブジェクトモデル、および issue に示されている Multibranch の workaround を確認します。必要な Multibranch モデルと取得動作を定義し、そのうえで、Multibranch プロジェクトを folder として模倣せずに直接使用できることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api, backend-api-design
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100