-
Task
-
Resolution: Unresolved
-
Minor
Problem
== Inline Script Block
Line: 68
----
<script>
{
const trendProxy = <st:bind value="${it}"/>;
echartsJenkinsApi.renderConfigurableTrendChart('${chartId}', '${enableLinks}', '${configurationId}', trendProxy);
const parasoftCoverageTrendChart = jQuery3('#${chartId}')[0].echart;
parasoftCoverageTrendChart.on('finished', function () {
if (parasoftCoverageTrendChart.getOption().toolbox[0].feature.myTool1.title != '${%setup.text}') {
parasoftCoverageTrendChart.setOption({
toolbox: {
feature: {
myTool1: {
title: '${%setup.text}'
}
}
}
});
}
});
}
</script>
----
Solution
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks