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

Abort protection

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      Just to be clear - this is NOT about user/role permissions.

      Sometimes certain steps in the pipeline aren't safe to abort. Example: `terraform apply` which if aborted may leave corrupted/incomplete state file and/or lock resources.

      I am not sure if it would be a core functionality or a plugin similar to https://plugins.jenkins.io/lockable-resources/ - but I am thinking about `abortProtection { ... }` block that shall never be voluntarily aborted. If a user with aborting permissions trying to abort during this step - it keeps going and getting aborted only after it leaves the protected block.

            Unassigned Unassigned
            llibicpep Dee Kryvenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: