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

Check if script needs approval before executing it

      It often happens that I modify a pipeline script, it runs for several minutes in Jenkins and then fails because I added a method call that needs approval. Then I approve that method, run it again and have to hope that there's not another method call I have to approve.

      So IMHO it'd be great if Jenkins did some kind of "dry run" on a script to check if there's any method signature that still needs approval and immediately fails before the script was actually executed.

      This may also have severe consequences, e.g. if a component was deployed and the script fails afterwards and it's impossible to roll back the deployment.

      Also, it's not possible to add script approvals manually using the web interface so I actually have to wait for the script to fail.

          [JENKINS-39773] Check if script needs approval before executing it

            Unassigned Unassigned
            maxzilla Max Wahler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: