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

Incorrect Cyrillic symbols in Console output

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • msbuild-plugin
    • None
    • Windows 7 Rus

    Description

      Incorrect Cyrillic symbols in Console output.
      Can be solved by change MsBuildBuilder class
      Line 122 from:
      if (!launcher.isUnix())

      { args.prepend("cmd.exe", "/C"); args.add("&&", "exit", "%%ERRORLEVEL%%"); }


      To:
      if (!launcher.isUnix())

      { String winCodepage = "1251"; args.prepend("cmd.exe", "/C", "chcp", winCodepage, ">", "NUL", "&"); args.add("&&", "exit", "%%ERRORLEVEL%%"); }

      But winCodepage nead add to configure.

      Attachments

        1. msbuild.hpi
          17 kB
        2. msbuild-plugin-1.11.1.zip
          12 kB
        3. msbuild-plugin-1.12.1.zip
          13 kB
        4. msbuild-plugin-1.8.1.1.Zip
          12 kB
        5. screen.zip
          136 kB

        Activity

          Could it be closed?

          gbois Gregory Boissinot added a comment - Could it be closed?

          No. I just clone repository and fix problem, but in main repository problem still exist. My solution i put in file msbuild-plugin-1.11.1.zip.

          aristar Dmitry Sviridov added a comment - No. I just clone repository and fix problem, but in main repository problem still exist. My solution i put in file msbuild-plugin-1.11.1.zip.

          Can I push changes in repo?

          aristar Dmitry Sviridov added a comment - Can I push changes in repo?

          merge changes with 1.12.1

          aristar Dmitry Sviridov added a comment - merge changes with 1.12.1

          Code seems to be merged

          gbois Gregory Boissinot added a comment - Code seems to be merged

          People

            gbois Gregory Boissinot
            aristar Dmitry Sviridov
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: