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

Calling build.getResult after aborting a build manually (by clicking the Red cross) gives the result as "FAILURE" instead of "ABORTED"

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin
    • None

      I am trying to extend the jira plugin

      1. I am performing a post build task.
      2. I am using build.getResult() to get Result of the current build.
      3. So whenever I abort a build manually (clicking the red cross) it returns a result as "ABORTED"

      But when I am configuring a job with a git repository.And I run the job and abort the build manually it returns the result as "FAILURE" instead of "ABORTED"

      It is blocking me on my task as If the result is "FAILURE" the plugin performs "A" task and on "ABORTED" performs "B" task.

          [JENKINS-16564] Calling build.getResult after aborting a build manually (by clicking the Red cross) gives the result as "FAILURE" instead of "ABORTED"

          There are no comments yet on this issue.

            Unassigned Unassigned
            rupalibehera Rupali Behera
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: