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

hudson.tools.DownloadFromUrlInstaller#performInstallation faild when same named directory in archived file

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core

      hudson.tools.DownloadFromUrlInstaller#performInstallation
      faild at call 'base.moveAllChildrenTo(expected)'

      archived file example:

      +- test
        +- sub
          +- sub
      

      'test/sub'.moveAllChildrenTo('test') fail at hudson.FilePath

      'test/sub/sub'.renameTo('test/') failed.

      It caused by destination folder 'test/sub' that existed already.

          [JENKINS-16846] hudson.tools.DownloadFromUrlInstaller#performInstallation faild when same named directory in archived file

          Kiyofumi Kondoh created issue -
          Kiyofumi Kondoh made changes -
          Description Original: hudson.tools.DownloadFromUrlInstaller#performInstallation
           faild at call 'base.moveAllChildrenTo(expected)'

          archived file example:

          {quote}
          +- test
            +- sub
              +- sub
          {quote}

          'test/sub'.moveAllChildrenTo('test') fail at hudson.FilePath

          'test/sub/sub'.renameTo('test/sub') failed.

          It caused by destination folder 'test/sub' that existed already.

          New: hudson.tools.DownloadFromUrlInstaller#performInstallation
           faild at call 'base.moveAllChildrenTo(expected)'

          archived file example:

          {noformat}
          +- test
            +- sub
              +- sub
          {noformat}

          'test/sub'.moveAllChildrenTo('test') fail at hudson.FilePath

          'test/sub/sub'.renameTo('test/sub') failed.

          It caused by destination folder 'test/sub' that existed already.

          Kiyofumi Kondoh made changes -
          Description Original: hudson.tools.DownloadFromUrlInstaller#performInstallation
           faild at call 'base.moveAllChildrenTo(expected)'

          archived file example:

          {noformat}
          +- test
            +- sub
              +- sub
          {noformat}

          'test/sub'.moveAllChildrenTo('test') fail at hudson.FilePath

          'test/sub/sub'.renameTo('test/sub') failed.

          It caused by destination folder 'test/sub' that existed already.

          New: hudson.tools.DownloadFromUrlInstaller#performInstallation
           faild at call 'base.moveAllChildrenTo(expected)'

          archived file example:

          {noformat}
          +- test
            +- sub
              +- sub
          {noformat}

          'test/sub'.moveAllChildrenTo('test') fail at hudson.FilePath

          'test/sub/sub'.renameTo('test/') failed.

          It caused by destination folder 'test/sub' that existed already.

          Kiyofumi Kondoh made changes -
          Environment Original: Windows
          Labels Original: jenkins windows New: jenkins
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 147675 ] New: JNJira + In-Review [ 192534 ]

            Unassigned Unassigned
            kkkon Kiyofumi Kondoh
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: