jenkinsci / jenkinsci/java-client-api

invoke JenkinsServer#createJob Error

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

説明

I use jenkins 2.164.2,and i can invoke jenkinsServer#getJobXml to get jobXml,but when i invoke jenkinsServer#createJob("my-test-job", jobXml, true) occurs the following error message:

org.apache.http.client.HttpResponseException: Internal Server Error
at com.offbytwo.jenkins.client.validator.HttpResponseValidator.validateResponse(HttpResponseValidator.java:11)
at com.offbytwo.jenkins.client.JenkinsHttpClient.post_xml(JenkinsHttpClient.java:375)
at com.offbytwo.jenkins.JenkinsServer.createJob(JenkinsServer.java:389)
at com.offbytwo.jenkins.JenkinsServer.createJob(JenkinsServer.java:359)

as anyone can help me?

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

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

調査の方向性

Start by tracing JenkinsServer#createJob through JenkinsHttpClient.post_xml and HttpResponseValidator.validateResponse, the locations named in the stack trace. Reproduce the call with Jenkins 2.164.2 and the reported job XML; done means identifying the cause of the HTTP 500 or documenting the additional information needed to diagnose it.

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

評価

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

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

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