Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25182

HTTP 400 bad request error occurs, while integrate the jira test result reporter plugin with Jenkins tool v1.58.

XMLWordPrintable

      I've configured jira test result reporter plugin with Jenkins, after build gets failed I'm facing HTTP 400 bad request error issue.

      Versions:

      Jenkins ver. 1.580
      JiraTestResultReporter plugin 1.0.5
      JIRA: 6.4

      Console Output:

      [JiraTestResultReporter] [DEBUG] ----------------------------
      [JiraTestResultReporter] [DEBUG] Creating issue in project QAA at URL https://guidanz.atlassian.net/rest/api/2/issue/

      [JiraTestResultReporter] [INFO] Reporting issue.
      [JiraTestResultReporter] [DEBUG] statusLine: HTTP/1.1 400 Bad Request

      [JiraTestResultReporter] [DEBUG] statusCode: 400

      ERROR: Publisher JiraTestResultReporter.JiraReporter aborted due to exception
      java.lang.RuntimeException: [JiraTestResultReporter] [ERROR] Failed : HTTP error code : 400
      at JiraTestResultReporter.JiraReporter.createJiraIssue(JiraReporter.java:188)
      at JiraTestResultReporter.JiraReporter.perform(JiraReporter.java:108)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
      at hudson.model.Run.execute(Run.java:1770)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)
      No emails were triggered.
      Finished: FAILURE

      For reference check attached configured screenshots.

            Unassigned Unassigned
            praveenlakshmanan Praveen Lakshmanan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: