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

            pajasoft Pavel Janoušek created issue -
            pajasoft Pavel Janoušek made changes -
            Field Original Value New Value
            Link This issue is blocking JENKINS-32777 [ JENKINS-32777 ]
            danielbeck Daniel Beck made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 170288 ] JNJira + In-Review [ 198830 ]

              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: