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

FilePath's copyRecursiveTo doesn't handle Chinese characters

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • windows server 2008,+jenkins + html publish plugin 1.2 statsvn0.7

      HTML Publisher for example uses copyRecursiveTo as such: copyRecursiveTo("*/", targetDir) (https://github.com/jenkinsci/htmlpublisher-plugin/blob/master/src/main/java/htmlpublisher/HtmlPublisher.java#L212), and in the attached screenshot one can see that it can fail if the glob matches certain characters.

          [JENKINS-18558] FilePath's copyRecursiveTo doesn't handle Chinese characters

          ying zhang created issue -
          mcrooney made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: htmlpublisher [ 15681 ]
          Description Original: First,I use the statsvn, and I want to publish the statsvn report on jenkins.
          But the html publish plugin can't recognize chinese files.

          Didn't the html publisher plugin just copy the report from HTML directory to $JENKINS_HOME\jobs\$JOB_NAME\htmlreports\HTML_Report\ ?

          The file's name can't be changed. how can i solve the problem?
          New: HTML Publisher for example uses copyRecursiveTo as such: copyRecursiveTo("**/*", targetDir) (https://github.com/jenkinsci/htmlpublisher-plugin/blob/master/src/main/java/htmlpublisher/HtmlPublisher.java#L212), and in the attached screenshot one can see that it can fail if the glob matches certain characters.
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          Summary Original: use of HTML Publisher Plug New: FilePath's copyRecursiveTo doesn't handle Chinese characters
          Kohsuke Kawaguchi made changes -
          Assignee Original: mcrooney [ mcrooney ] New: Kohsuke Kawaguchi [ kohsuke ]
          Daniel Beck made changes -
          Link New: This issue is related to JENKINS-12610 [ JENKINS-12610 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 149865 ] New: JNJira + In-Review [ 177499 ]
          Lutz Neugebauer made changes -
          Link New: This issue is related to JENKINS-72540 [ JENKINS-72540 ]

            kohsuke Kohsuke Kawaguchi
            rexuekonglong ying zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: