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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Anton Weiss
            Reporter:
            Anton Weiss
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: