[JIRA] (JENKINS-57991) Improve the error message when the credentials of the remote Jenkins are not correct
Title: Message Title Pierre Beitz updated JENKINS-57991 Jenkins / JENKINS-57991 Improve the error message when the credentials of the remote Jenkins are not correct Change By: Pierre Beitz Status: In Progress Review Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199976.1560354097000.26012.1560354780411%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57991) Improve the error message when the credentials of the remote Jenkins are not correct
Title: Message Title Pierre Beitz started work on JENKINS-57991 Change By: Pierre Beitz Status: Open In Progress Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199976.1560354097000.26011.1560354780368%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57991) Improve the error message when the credentials of the remote Jenkins are not correct
Title: Message Title Pierre Beitz created an issue Jenkins / JENKINS-57991 Improve the error message when the credentials of the remote Jenkins are not correct Issue Type: Improvement Assignee: Unassigned Components: job-import-plugin Created: 2019-06-12 15:41 Priority: Minor Reporter: Pierre Beitz Current situation does an error difficult to decrypt because the plugin doesn't check for the response status code: 2019-06-12 11:14:33.668+ [id=86689] SEVERE o.j.c.p.j.client.RestApiClient#getRemoteItems: Failed to list job from remote org.xml.sax.SAXParseException; lineNumber: 10; columnNumber: 3; The element type "hr" must be terminated by the matching end-tag "". at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) at org.jenkins.ci.plugins.jobimport.client.RestApiClient.getRemoteItems(RestApiClient.java:34) at org.jenkins.ci.plugins.jobimport.JobImportAction.doQueryInternal(JobImportAction.java:278) at org.jenkins.ci.plugins.jobimport.JobImportAction.doQuery(JobImportAction.java:174) Proposed fix checking for this status code: Jun 12, 2019 5:36:04 PM org.jenkins.ci.plugins.jobimport.client.RestApiClient getRemoteItems SEVERE: Failed to list job from remote /SEVERE: Failed to list job from remote /org.acegisecurity.AccessDeniedException: Remote Jenkins denied access.
[JIRA] (JENKINS-57991) Improve the error message when the credentials of the remote Jenkins are not correct
Title: Message Title Pierre Beitz assigned an issue to Pierre Beitz Jenkins / JENKINS-57991 Improve the error message when the credentials of the remote Jenkins are not correct Change By: Pierre Beitz Assignee: Pierre Beitz Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199976.1560354097000.26006.1560354120212%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.