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

Hudson fails to delete files with foreign characters in the file name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Critical Critical
    • other
    • None
    • Platform: All, OS: Linux

      When hudson cleans the workspace out for a brand new checkout, it fails to
      delete files with foreign characters in them. I am running Hudson version 1.263
      on linux running via Tomcat 5. I've made sure Tomcat is set to
      URLEncoding=UTF-8 on the <Connector>

      See the stacktrace below:

      started
      FATAL: Unable to delete
      /opt/hudson/jobs/Latest/workspace/server/work/game-modules/bet365-se-games/bingo_lobby/Release-3_4_0-Flash-RC20/bingo_lobby

      • files in dir:
        [/opt/hudson/jobs/Latest/workspace/server/work/game-modules/bet365-se-games/bingo_lobby/Release-3_4_0-Flash-RC20/bingo_lobby/isle�o.swf]
        java.io.IOException: Unable to delete
        /opt/hudson/jobs/Latest/workspace/server/work/game-modules/bet365-se-games/bingo_lobby/Release-3_4_0-Flash-RC20/bingo_lobby
      • files in dir:
        [/opt/hudson/jobs/Latest/workspace/server/work/game-modules/bet365-se-games/bingo_lobby/Release-3_4_0-Flash-RC20/bingo_lobby/isle�o.swf]
        at hudson.Util.deleteFile(Util.java:208)
        at hudson.Util.deleteRecursive(Util.java:241)
        at hudson.Util.deleteContentsRecursive(Util.java:175)
        at hudson.Util.deleteRecursive(Util.java:240)
        at hudson.Util.deleteContentsRecursive(Util.java:175)
        at hudson.Util.deleteRecursive(Util.java:240)
        at hudson.Util.deleteContentsRecursive(Util.java:175)
        at hudson.Util.deleteRecursive(Util.java:240)
        at hudson.Util.deleteContentsRecursive(Util.java:175)
        at hudson.Util.deleteRecursive(Util.java:240)
        at hudson.Util.deleteContentsRecursive(Util.java:175)
        at hudson.Util.deleteRecursive(Util.java:240)
        at hudson.Util.deleteContentsRecursive(Util.java:175)
        at hudson.Util.deleteRecursive(Util.java:240)
        at hudson.Util.deleteContentsRecursive(Util.java:175)
        at hudson.FilePath$7.invoke(FilePath.java:473)
        at hudson.FilePath$7.invoke(FilePath.java:471)
        at hudson.FilePath.act(FilePath.java:389)
        at hudson.FilePath.deleteContents(FilePath.java:471)
        at hudson.scm.CVSSCM.checkout(CVSSCM.java:378)
        at hudson.scm.CVSSCM.checkout(CVSSCM.java:322)
        at hudson.model.AbstractProject.checkout(AbstractProject.java:666)
        at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:264)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:238)
        at hudson.model.Run.run(Run.java:817)
        at hudson.model.Build.run(Build.java:88)
        at hudson.model.ResourceController.execute(ResourceController.java:70)
        at hudson.model.Executor.run(Executor.java:90)

            Unassigned Unassigned
            draco2k8 draco2k8
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: