首页 > 数据库技术 > 详细

Jenkins: because the document's frame is sandboxed and the 'allow-scripts' permission is not set

时间:2021-05-27 22:25:36      阅读:30      评论:0      收藏:0      [点我收藏+]

because the document‘s frame is sandboxed and the ‘allow-scripts‘ permission is not set

 

For Jenkins hosted on Ubuntu:

  1. put to /etc/default/jenkins

    JAVA_ARGS="${JAVA_ARGS} -Dhudson.model.DirectoryBrowserSupport.CSP=\"\" "
    
  2. visit http://<your jenkins hostname>/safeRestart

(about this and other options: https://wiki.jenkins.io/display/JENKINS/Features+controlled+by+system+properties)

UPD: this time when I did this the visiting /safeRestart was not enough. I had to do sudo service jenkins restart.

 

 

https://stackoverflow.com/questions/34315723/jenkins-error-blocked-script-execution-in-url-because-the-documents-frame

Jenkins: because the document's frame is sandboxed and the 'allow-scripts' permission is not set

原文:https://www.cnblogs.com/i-shu/p/14819202.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!