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

IOException produced in CLI 'delete-builds'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: cli
    • Labels:
      None
    • Similar Issues:

      Description

      IOException is produced when delete-buidls is invoked with a repeated build number.

      It can be made by mistake e.g. delete-builds 1,2,3,3 or intentionally e.g. delete-builds 1-6,3-10.

      DeleteBuildsCommand class is derived from AbstractBuildRangeCommand where it is possible to have a build specified more times for whatever reason. In current impl. it is responsibility of DeleteBuildsCommand to handle that situation correctly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pajasoft Pavel Janoušek
              Reporter:
              pajasoft Pavel Janoušek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: