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

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Jenkins

    Description

      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/

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes