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

[maven-release-cascade] Extract inline script block in WEB-INF/classes/com/barchart/jenkins/cascade/LayoutOptions/config.jelly

XMLWordPrintable

      Problem

      == Inline Script Block
      Line: 68
      ----
      <script type="text/javascript">
      				document.getElementById("layout-option-1").disabled = "true";
      				document.getElementById("layout-option-2").disabled = "true";
      				document.getElementById("layout-option-3").disabled = "true";
      				document.getElementById("layout-option-4").disabled = "true";
      				document.getElementById("layout-option-5").disabled = "true";
      				document.getElementById("layout-option-6").disabled = "true";
      				// document.getElementById("layout-option-7").disabled = "true";
      			</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: