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

[warnings-ng] Extract inline script blocks in io/jenkins/plugins/analysis/core/model/FixedWarningsDetail/index.jelly

XMLWordPrintable

      Problems

      == Inline Script Block
      Line: 60
      ----
      <script type="text/javascript">
            /* global jQuery3 */
            jQuery3('#fixed').DataTable({
              pagingType: 'numbers', // Page number button only
              order: [[0, 'asc'], [1, 'asc']] // Sort by file name and line number
            });
          </script>
      ----
      
      == Inline Script Block
      Line: 60
      ----
      <script type="text/javascript">
            /* global jQuery3 */
            jQuery3('#fixed').DataTable({
              pagingType: 'numbers', // Page number button only
              order: [[0, 'asc'], [1, 'asc']] // Sort by file name and line number
            });
          </script>
      ----
      

      Solution

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

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

              Created:
              Updated:
              Resolved: