Error: Opening Robot Framework log failed

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

    The easiest thing to do is (if there are no worries on security aspects) also a permanent fix.

    1. open the jenkins.xml file and

    2. add the following

      -Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -Dhudson.model.DirectoryBrowserSupport.CSP="" -jar "%BASE%\jenkins.war" -- httpPort=8080 --webroot="%BASE%\war"

    3. restart the jenkins server

    4. rerun your jenkins jobs to see the result files.

    If we are using the script console, every time you restart the jenkins server, the changes will be lost.

提交回复
热议问题