错误

Blocked script execution in '<URL>' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.

解决

这种报错,可以通过设置jenkins 的CSP 变量解决

1、jenkins主页
2、进入Manage Jenkins
3、进入Script Console
4、然后在控制台粘贴下面的语句中,点击Run

System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")

相关文章:

  • 2021-04-18
  • 2021-06-21
  • 2022-01-30
  • 2021-06-30
  • 2022-12-23
  • 2021-06-13
  • 2021-05-16
猜你喜欢
  • 2022-12-23
  • 2021-04-05
  • 2022-12-23
  • 2022-01-28
  • 2022-12-23
  • 2021-12-22
  • 2021-12-31
相关资源
相似解决方案