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

Tests in BPBuildInfoTest fail when run on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Labels:
      None
    • Environment:
      Development OS: Windows 7 (x64)
      Development environment: NetBeans 7.4
      Source folder: D:\Git\publish-over
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          tyrius Jonathan Zimmerman created issue -
          tyrius Jonathan Zimmerman made changes -
          Field Original Value New Value
          Priority Major [ 3 ] Minor [ 4 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 152671 ] JNJira + In-Review [ 178284 ]
          slide_o_mix Alex Earl made changes -
          Assignee bap [ bap ] Alex Earl [ slide_o_mix ]
          slide_o_mix Alex Earl made changes -
          Resolution Cannot Reproduce [ 5 ]
          Status Open [ 1 ] Resolved [ 5 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved: