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

SandboxInterceptorTest "templates" test failure blocking compilation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • script-security-plugin
    • None

      When running "mvn install" on the latest tagged release version (script-security-1.9) from the GitHub repo, I get the listed error:

      ```
      Tests in error:
      templates(org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptorTest): Scripts not permitted to use method java.io.PrintWriter print java.lang.String

      Tests run: 46, Failures: 0, Errors: 1, Skipped: 2
      ```

      Same result when building the trunk/master branch (I assume the dev version).

      Please advise how to proceed, we are blocked on building this. Something is amiss.

            jglick Jesse Glick
            jklinect James Klinect
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: