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

org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: unclassified field org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper duration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • pipeline
    • None

      I'm using a build step in pipeline plugin with wait: true.

      I'd like to run from Jenkinsfile - therefore sandboxed execution is needed.
      After the job completes I'm trying to access the resulting 'run' object.
      All the fields can be accessed fine except the 'duration' field.

      Looks like a bug.

            antweiss Anton Weiss
            antweiss Anton Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: