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

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

XMLWordPrintable

      Problem

      == Inline Script Block
      Line: 12
      ----
      <script type="text/javascript">
              Handlebars.registerHelper('startScript', function() {
                  return new Handlebars.SafeString("<scr" + "ipt>");
              });
      
              Handlebars.registerHelper('endScript', function() {
                  return new Handlebars.SafeString("</scr" + "ipt>");
              });
          </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: