-
Task
-
Resolution: Duplicate
-
Minor
Problems
== Inline Script Block Line: 68 ---- <script>initPassFailGraph('');</script> ---- == Inline Script Block Line: 76 ---- <script>initDurationGraph('');</script> ---- == Inline Event Handler Line: 61 ---- <input type="checkbox" id="zoomToChanges" onclick="redrawPassFailGraph('');"/> ---- == Inline Event Handler Line: 62 ---- <input type="checkbox" id="failedOnly" onclick="redrawPassFailGraph('');"/> ---- == Inline Event Handler Line: 63 ---- <input type="checkbox" id="criticalOnly" onclick="redrawPassFailGraph('');"/> ---- == Inline Event Handler Line: 64 ---- <input min="0" max="9999" step="1" placeholder="all" value="" type="number" id="maxBuildsToShow" onchange="redrawPassFailGraph(''); redrawDurationGraph('');"/> ---- == Inline Script Block Line: 68 ---- <script>initPassFailGraph('');</script> ---- == Inline Script Block Line: 76 ---- <script>initDurationGraph('');</script> ---- == Inline Event Handler Line: 61 ---- <input type="checkbox" id="zoomToChanges" onclick="redrawPassFailGraph('');"/> ---- == Inline Event Handler Line: 62 ---- <input type="checkbox" id="failedOnly" onclick="redrawPassFailGraph('');"/> ---- == Inline Event Handler Line: 63 ---- <input type="checkbox" id="criticalOnly" onclick="redrawPassFailGraph('');"/> ---- == Inline Event Handler Line: 64 ---- <input min="0" max="9999" step="1" placeholder="all" value="" 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
- duplicates
-
JENKINS-74732 Extract inline script blocks and event handlers
- Closed