Jenkins HTML Publisher Plugin : allowscript permission issue

后端 未结 2 1610
心在旅途
心在旅途 2021-02-03 11:23

I\'m trying to report my .html file with HTML publisher plugin in Jenkins however,since HTML publisher is updated to version 1.10, can\'t publish HTML.

2条回答
  •  春和景丽
    2021-02-03 12:14

    Can you have a try with a blank CSP option?

    /usr/bin/java -Djava.awt.headless=true -Dhudson.model.DirectoryBrowserSupport.CSP= -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080 --ajp13Port=-1
    

    On my Jenkins instance, it solved my reporting issues.

    I know it's not a safe option, but I didn't find another solution :(

提交回复
热议问题