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

Jenking not able to build project resides on Virtual Drive

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Incomplete
    • Icon: Major Major
    • msbuild-plugin
    • None

      Hi,

      I am not able to build the Virtual drive Project via Jenkin.

      Step:-
      1. I have created the virtual drive named X by running the below batch file.
      subst X: D:\SVN_ABC\Test

      2. Then I create the free style project in Jenkin & add the MSbuild task in it

      I then specified the project file path with the X drive, please see below:-

      MSBuild Build File: X:\SourceLib\SourceLib\SourceLib.csproj
      Command Line Arguments : /p:Configuration=Release

      When I run the jenkin Job, then I am getting error that the Project file does not exist.
      If I change the Project file path from virtual to some physical path then I am able to run the job successfully. Jenkin not able to understand the X drive. How would I make jenkin learn about the X drive.

      I want to run the jenkin job relative to Virtual drive path(X drive path in my case) instead of physical drive path.

      I read many article on this & tried many step but no success, Can you please suggest & give some direction on this issue.

      Kindly reply here or write me directly at my email id dinesh.k@niit-tech.com would be highly appreciated.

      Thanks,
      Dinesh

            marshall777 Lionel Cabasson
            dinesh588 Dinesh Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: