Error: Opening Robot Framework log failed

前端 未结 8 1648
無奈伤痛
無奈伤痛 2021-02-04 02:50

If I open any .html file that generated by Robot Framework and try to convert it in any other format(for example, docx formate) using either any python code or inbuilt command l

8条回答
  •  死守一世寂寞
    2021-02-04 03:44

    I managed to make it work by editing the file /etc/sysconfig/jenkins and adding -Dhudson.model.DirectoryBrowserSupport.CSP= to the JENKINS_JAVA_OPTIONS setting. On my installation, the setting looks like

    JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Dhudson.model.DirectoryBrowserSupport.CSP= "
    

    Then restart jenkins

    service jenkins restart
    

    Sources

    https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy

    System properties management

提交回复
热议问题