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

[robot] Extract inline script blocks and event handlers in hudson/plugins/robot/model/RobotCaseResult/index.jelly

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Minor Minor
    • robot-plugin

      Problems

      == Inline Script Block
      Line: 61
      ----
      <script>initPassFailGraph('');</script>
      ----
      
      == Inline Script Block
      Line: 69
      ----
      <script>initDurationGraph('');</script>
      ----
      
      == Inline Event Handler
      Line: 57
      ----
      <input min="0" step="1" max="9999" value="" placeholder="all" type="number" id="maxBuildsToShow"
                               onchange="redrawPassFailGraph(''); redrawDurationGraph('');"/>
      ----
      
      == Inline Script Block
      Line: 61
      ----
      <script>initPassFailGraph('');</script>
      ----
      
      == Inline Script Block
      Line: 69
      ----
      <script>initDurationGraph('');</script>
      ----
      
      == Inline Event Handler
      Line: 57
      ----
      <input min="0" step="1" max="9999" value="" placeholder="all" type="number" id="maxBuildsToShow"
                               onchange="redrawPassFailGraph(''); redrawDurationGraph('');"/>
      ----
      

      Solutions

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

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

              Created:
              Updated:
              Resolved: