Error: Opening Robot Framework log failed

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

    Answer is explained at Jenkins issue tracking system: https://issues.jenkins-ci.org/browse/JENKINS-32118

    For resolve your problem you must :

    1. Connect on your jenkins url (http://[IP]:8080/)
    2. Click on Manage Jenkins from left side panel.
    3. Click on Script Console
    4. Copy this into the field

      System.setProperty("hudson.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' ;")

    5. Click on Run button.

    6. Execute your Jenkins build.

提交回复
热议问题