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

Release resource not running when a build step fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • exclusion-plugin
    • None

      Given a build using Exclusion plugin and the following the build steps defined:
      -Critical block start
      -My build steps. In my example I'm using Trigger plugin to trigger others jobs.
      -Critical block end

      When one of the build steps fails, critical block end is not being executed and the resource still locked.

      An another attempt was trying to remove Critical block end, since plugin's documentation says if there's no Critical block end, the resource release will always be executed. I tried without success.

            anthonyroux Anthony Roux
            henriquegontijo Henrique Gontijo
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: