Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32118

Document Jenkins security settings so Robot Framework log/report can be opened

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • robot-plugin
    • None
    • Jenkins 1.642, Robot Framework plugin 1.6.2
    • 2.1.2

      When trying to open Robot Framework log (or report) I get an error in my browser:
      "...
      Opening Robot Framework log failed

      Verify that you have JavaScript enabled in your browser.
      Make sure you are using a modern enough browser. Firefox 3.5, IE 8, or equivalent is required, newer browsers are recommended.
      Check are there messages in your browser's JavaScript error log. Please report the problem if you suspect you have encountered a bug.
      ..."

      I am using Firefox v. 43 where javascript.enabled is true.

       

      EDIT:

      Per danielbeck in this comment, a possible solution to study is used in Cucumber-plugin: https://github.com/jenkinsci/cucumber-reports-plugin/pull/66/files

          [JENKINS-32118] Document Jenkins security settings so Robot Framework log/report can be opened

          Roman Solus created issue -
          Oleg Nenashev made changes -
          Component/s New: robot-plugin [ 15773 ]
          Component/s Original: _unsorted [ 19622 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ] New: jpiironen [ jpiironen ]
          Thorsten Kahler made changes -
          Link New: This issue duplicates JENKINS-32077 [ JENKINS-32077 ]
          Daniel Beck made changes -
          Link New: This issue is duplicated by JENKINS-32077 [ JENKINS-32077 ]
          Daniel Beck made changes -
          Link Original: This issue duplicates JENKINS-32077 [ JENKINS-32077 ]
          Richard Zialhi made changes -
          Comment [ hi guys. i am still facing this issue, after updating the java options, as suggested above:

          echo $JENKINS_JAVA_OPTIONS
          -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' ;"

          any idea would be really appreciated. ]
          Tarik Remous made changes -
          Assignee Original: jpiironen [ jpiironen ] New: Tarik Remous [ tarik_remous ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Tarik Remous made changes -
          Comment [ For resolve your problem you must :
           - Connect on your jenkins url (http://[IP]:8080/)
           - Click on administer Jenkins
           - Click on consol jenkins
           - Copy this into the field and execute :
                     {color:#d04437}_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' ;")_{color}

          ]
          Tarik Remous made changes -
          Comment [ For resolve your problem you must :

              Connect on your jenkins url (http://[IP]:8080/)
              Click on administer Jenkins
              Click on consol jenkins
              Copy this into the field and execute :
              _{color:#d04437}*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' ;")*{color}_

          ]
          Tarik Remous made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

            aleksisimell Aleksi Simell
            romek_es Roman Solus
            Votes:
            51 Vote for this issue
            Watchers:
            68 Start watching this issue

              Created:
              Updated:
              Resolved: