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

Incorrect build status on cancelling previous build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • workflow-job-plugin
    • None

      When the Jenkins pipeline uses the below option,

      options {
          disableConcurrentBuilds(abortPrevious: true)
        }
      

      to cancel the previously running build, the build result status is NOT_BUILT.
      Where the pervious build has run for a while and is partly executed already. Hence, the result of it should not be NOT_BUILT, which is misleading.

            Unassigned Unassigned
            rajee Rajeshwari Subramaniam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: