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

Anchore plugin reports should still render when Resource Root URL is configured

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

       

      When viewing https://<jenkins url>/job/<job name>/job/main/1/anchore-results/,  this plugin cannot pull anchore_gates.json and anchore_security.json artifacts client-side when a Resource root URL is set in Jenkins > Manage Jenkins > Configure System > Serve resource files from another domain.

       

      The browser console indicates a cors issue:

      Access to XMLHttpRequest at 'https://<jenkins resource root url>/static-files/1Gn7axCcS4I1-5RgHpYPLvlaS8PfaVqDfS-8oo5tV64xNjI1ODYwNDAxMjkxOjU6YWRtaW46am9iL3NtYXJ0bGlmdC1zdG9yZS11aS9qb2IvbWFpbi8zMi9hcnRpZmFjdA==/AnchoreReport.main_32/anchore_security.json' (redirected from 'https://<jenkins url>/job/<job name>/job/main/1/artifact/AnchoreReport.main_32/anchore_security.json') from origin 'https://<jenkins url>' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            nurmi Daniel Nurmi
            Reporter:
            jpearnest JP
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: