Skip to content

[JENKINS-74446] [nested-data-reporting] Extract inline script blocks in io/jenkins/plugins/reporter/JobAction/floatingBox.jelly #511

@jenkins-infra-bot

Description

@jenkins-infra-bot

Problems

== Inline Script Block
Line: 12
----
<script>var view = <st:bind value="${from}"/></script>
----

== Inline Script Block
Line: 13
----
<script>
 
    view.getTrendId(function (id) {
echartsJenkinsApi.configureTrend(id.responseJSON)
    });
    
</script>
----

Solution

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


Originally reported by basil, imported from: [nested-data-reporting] Extract inline script blocks in io/jenkins/plugins/reporter/JobAction/floatingBox.jelly
  • status: Open
  • priority: Minor
  • component(s): _unsorted
  • label(s): CSP
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-08
Raw content of original issue

Problems

== Inline Script Block
Line: 12
----
<script>var view = <st:bind value="${from}"/></script>
----

== Inline Script Block
Line: 13
----
<script>
         
            view.getTrendId(function (id) {
                echartsJenkinsApi.configureTrend(id.responseJSON)
            });
            
        </script>
----

Solution

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions