jenkinsci / jenkinsci/java-client-api
invoke JenkinsServer#createJob Error
- Vorherrschende Sprache
- Java
- Sterne
- 913
- Forks
- 466
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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?
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- api
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100