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

Tests in BPBuildInfoTest fail when run on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • Development OS: Windows 7 (x64)
      Development environment: NetBeans 7.4
      Source folder: D:\Git\publish-over

      The two test methods in BPBuildInfoTest fail when run on Windows with the message: expected: </some/path/to/dir> but was: <D:/some/path/to/dir>.

      This occurs because the relative path (/some/path/to/dir) is treated as an absolute path inside FilePath.

            slide_o_mix Alex Earl
            tyrius Jonathan Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: