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

后端 未结 6 1464
刺人心
刺人心 2020-12-02 10:35

I\'m aware that if we use a iFrame in HTML we\'ve to sandbox it & add the \'allow-scripts\' permission to be true.

But my problem is I don\'t have a iFrame at all

6条回答
  •  渐次进展
    2020-12-02 11:12

    You need to follow below steps for solution :

    1. Open the Jenkin home page.
    2. Go to Manage Jenkins.
    3. Now go to Script Console.
    4. And in that console paste below statement and click on Run. System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")
    5. After that it will load css and js.

    Note : After following the above steps if still it is not loading css and js then clear the browser cache and cookie and refresh the page.

提交回复
热议问题