Error: Opening Robot Framework log failed

前端 未结 8 1666
無奈伤痛
無奈伤痛 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:34

    The accepted answer works for me but is not persistent. To make it persistent, modify the file /etc/default/jenkins and after JAVA_ARGS line, add the following line:

    JAVA_ARGS="$JAVA_ARGS -Dhudson.model.DirectoryBrowserSupport.CSP=\"sandbox allow-scripts; default-src 'none'; img-src 'self' data: ; style-src 'self' 'unsafe-inline' data: ; script-src 'self' 'unsafe-inline' 'unsafe-eval' ;\""

    Change will apply and be persistent after reboot

提交回复
热议问题