Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-5801

Enable JavaScript excecution on Jenkins to be able open Squish reports

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Jenkins

      RTA Jenkins uses Squish plugin to run Squish test suites. Each time Jenkins service is booted JavaScript execution is blocked and Squish logs are not visible. Two commands need to be run in Jenkins Script console to resolve. See if those could be executed automatically on Jenkins startup:

      System.clearProperty("hudson.model.DirectoryBrowserSupport.CSP");
      System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "sandbox allow-same-origin allow-scripts; default-src 'self'; script-src * 'unsafe-eval'; img-src *; style-src * 'unsafe-inline'; font-src * data:"); 

      https://kb.froglogic.com/squish/integrations/jenkins/content-security-policy-csp-web-report/

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mapaaso Matti Paaso
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes