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

[build-pipeline-plugin] Extract inline script block in au/com/centrumsystems/hudson/plugin/buildpipeline/extension/PipelineHeaderExtension/columnHeader.jelly

XMLWordPrintable

      Problem

      == Inline Script Block
      Line: 30
      ----
      <script>
                                              //save project proxies for future reference (being able to refresh project cards)
                                              buildPipeline.projectProxies[${project.getId()}] = <st:bind value="${project}" />;
                                              jQuery("#project-${project.getId()}").append(buildPipeline.projectCardTemplate(${project.asJSON()}));
                                          </script>
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks

            shlomo_dahan Shlomo
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: