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

Requests to job view/api trigger failing requests to sonar results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • _unsorted
    • None

      Jenkins Version is 2.149.

      When open a jobs main page (/job/<jobname>/) in browser or via api (/job/<jobname>/api/json/) this will trigger requests to sonar qube without authentication info:

      • /api/server/version with result 200
      • /api/ce/task?id=<ce-result-id> with result 401

      First of all I don't understand why this requests are triggered, seems to have no need.

      Further the second request fails because sonar qube requires to be authorized.

       

      So if there is no real reason for the requests, I would like to see them removed. And if they are required, jenkins needs to pass its authentication info to the requests.

            Unassigned Unassigned
            milkyman Horst Krause
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: