-
Task
-
Resolution: Duplicate
-
Minor
Problems
== Inline Script Block Line: 34 ---- <script>initPassFailGraph('${from.urlName}/');</script> ---- == Inline Event Handler Line: 28 ---- <input type="checkbox" id="zoomToChanges" onclick="redrawPassFailGraph('${from.urlName}/');"/> ---- == Inline Event Handler Line: 29 ---- <input type="checkbox" id="failedOnly" onclick="redrawPassFailGraph('${from.urlName}/');"/> ---- == Inline Event Handler Line: 30 ---- <input type="checkbox" id="criticalOnly" onclick="redrawPassFailGraph('${from.urlName}/');"/> ---- == Inline Event Handler Line: 31 ---- <input min="0" max="9999" step="1" placeholder="all" value="" type="number" id="maxBuildsToShow" onchange="redrawPassFailGraph('${from.urlName}/');"/> ---- == Inline Script Block Line: 34 ---- <script>initPassFailGraph('${from.urlName}/');</script> ---- == Inline Event Handler Line: 28 ---- <input type="checkbox" id="zoomToChanges" onclick="redrawPassFailGraph('${from.urlName}/');"/> ---- == Inline Event Handler Line: 29 ---- <input type="checkbox" id="failedOnly" onclick="redrawPassFailGraph('${from.urlName}/');"/> ---- == Inline Event Handler Line: 30 ---- <input type="checkbox" id="criticalOnly" onclick="redrawPassFailGraph('${from.urlName}/');"/> ---- == Inline Event Handler Line: 31 ---- <input min="0" max="9999" step="1" placeholder="all" value="" type="number" id="maxBuildsToShow" onchange="redrawPassFailGraph('${from.urlName}/');"/> ----
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