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

[nodelabelparameter] Get plugins.NodeLabelParameterPluginTest passing in ATH in restrictive CSP mode

      This test is currently failing in ATH when CSP is run in restrictive (or report-only) mode. Figure out how to get the test to pass. The CSP report is a bit ambiguous regarding the source of the problem:

      2024-10-14T17:20:49.450849886Z (anonymous) hudson.model.FreeStyleProject configure script-src eval <UNKNOWN> 
      

          [JENKINS-73974] [nodelabelparameter] Get plugins.NodeLabelParameterPluginTest passing in ATH in restrictive CSP mode

          Basil Crow added a comment - - edited

          Basil Crow added a comment - - edited I debugged this inside of ATH's browser and found that the eval is coming from https://github.com/jenkinsci/jenkins/blob/e097c2218e2c406b782ef0447f44a48672b4bf14/war/src/main/webapp/scripts/hudson-behavior.js#L1055 which is JENKINS-71520 .

          Basil Crow added a comment -

          Can be reproduced easily outside of ATH by adding a few static agents and configuring a Freestyle project to use them, as the test does.

          Basil Crow added a comment - Can be reproduced easily outside of ATH by adding a few static agents and configuring a Freestyle project to use them, as the test does.

            yafenkin Yaroslav Afenkin
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: