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

Replay unapproved script throws exception

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      As a user without permission to approve a script, if I run a pipeline job with inline pipeline, it will be failed due to the script not being approved. If I try to "replay" it, instead of having a warning message saying it's not yet approved, I got an exception. Same if I try to reply as an admin.

      Exception extract:
      2020-08-13 10:25:02.279+0000 [id=19] WARNING o.j.p.w.cps.replay.ReplayAction#getExecutionBlocking: Error fetching execution for replay
      java.io.IOException: pipe-from-replay #2 did not yet start
      at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.get(WorkflowRun.java:956)
      at org.jenkinsci.plugins.workflow.cps.replay.ReplayAction.getExecutionBlocking(ReplayAction.java:127)
      at org.jenkinsci.plugins.workflow.cps.replay.ReplayAction.isReplayableSandboxTest(ReplayAction.java:167)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            wfollonier Wadeck Follonier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: