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

SandboxInterceptorTest "templates" test failure blocking compilation

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: script-security-plugin
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: