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

DOS backslashes in paths are not handled properly.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • violations-plugin
    • None
    • Platform: PC, OS: Windows XP

      Violations Report for build 91
      Type Violations Files in violation
      stylecop 2319 211

      stylecop
      filename l m h number ↑
      twcoms_v\Order_Management_Products_VOB\TraderWorkstationMS\Dev\OrderManagement\build\..\OrderManagement\TestHarness\RemoteForm.cs
      0 524 0 524 (+524)
      twcoms_v\Order_Management_Products_VOB\TraderWorkstationMS\Dev\OrderManagement\build\..\OrderManagement\TestHarness\Form1.cs

      etc...

      I click on the links to see the violations for the file and I get no output.
      Just a white screen.

      I notice the URL linked to is this:

      http://mdsbu01:9090/hudson/job/TW%20COMS/violations/file/twcoms_v%5COrder_Management_Products_VOB%5CTraderWorkstationMS%5CDev%5COrderManagement%5Cbuild%5C..%5COrderManagement%5CTestHarness%5CRemoteForm.cs

      Lots of %5C (backslashes).

      The violations plugin has written a whole bunch of .xml files to the build
      output dir. Eg:

      D:\CI\jobs\TW
      COMS\builds\2009-04-29_14-44-29\violations\file\twcoms_v\Order_Management_Products_VOB\....
      etc

      However if I alter the URL to replace the backslashes with forward slashes I get
      this:

      twcoms_v/Order_Management_Products_VOB/TraderWorkstationMS/Dev/OrderManagement/OrderManagement/TestHarness/RemoteForm.cs
      No violations found

      What is going on here?

            peterkittreilly peterkittreilly
            orj76 orj76
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: