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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: pipeline
    • Labels:
      None
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            antweiss Anton Weiss created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Assignee Jesse Glick [ jglick ] Anton Weiss [ antweiss ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 6 (Web Link)" [ 14606 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 173005 ] JNJira + In-Review [ 199379 ]
            abayer Andrew Bayer made changes -
            Component/s pipeline-general [ 21692 ]
            abayer Andrew Bayer made changes -
            Component/s workflow-plugin [ 18820 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: