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

后端 未结 6 1490
刺人心
刺人心 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:25

    On Amazon Linux at the bottom of /etc/sysconfig/jenkins change:

    #JENKINS_ARGS="-Dhudson.model.DirectoryBrowserSupport.CSP=sandbox"
    
    JENKINS_ARGS="-Dhudson.model.DirectoryBrowserSupport.CSP=\"\""
    

提交回复
热议问题