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

[covcomplplot] Extract inline script blocks in WEB-INF/classes/hudson/plugins/covcomplplot/CovComplPlotProjectAction/floatingBox.jelly

XMLWordPrintable

      Problems

      == Inline Script Block
      Line: 8
      ----
      <script><![CDATA[
      			YAHOO.util.Event.onDOMReady(function() {
      				var element = YAHOO.util.Dom.get("covComplPlot");
      				var parentNode = element.parentNode;
      				if (parentNode.firstChild !== undefined) {
      					parentNode.removeChild(element);
      					YAHOO.util.Dom.insertBefore(element, parentNode.firstChild);
      				}
      			}); 
      		]]>
      		</script>
      ----
      
      == Inline Script Block
      Line: 20
      ----
      <script>
      			${buildAction.target.customJavaScript}
      		</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: