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

[build-pipeline-plugin] Extract inline script block in au/com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/main_dashboard.jelly

XMLWordPrintable

      Problem

      == Inline Script Block
      Line: 5
      ----
      <script type="text/javascript">
              // show/hide build details
              $(function() {
                  $(".header").click(function() {
                      var parent = $(this).parent();
                      var ba = parent.find(".build-actions");
                      var bb = parent.find(".build-body");
      
                      ba.add(bb).toggle('slow');
                  });
              });
          </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: