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

Incorrect Cyrillic symbols in Console output

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: msbuild-plugin
    • Labels:
      None
    • Environment:
      Windows 7 Rus
    • Similar Issues:

      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

          Hide
          gbois Gregory Boissinot added a comment -

          Could it be closed?

          Show
          gbois Gregory Boissinot added a comment - Could it be closed?
          Hide
          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.

          Show
          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.
          Hide
          aristar Dmitry Sviridov added a comment -

          Can I push changes in repo?

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

          merge changes with 1.12.1

          Show
          aristar Dmitry Sviridov added a comment - merge changes with 1.12.1
          Hide
          gbois Gregory Boissinot added a comment -

          Code seems to be merged

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: