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

Command Line Arguments: /p:PublishFolder does not work with UNC format to publish to remote server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • msbuild-plugin
    • None

      I set the parameter of PublishFolder to a centralized share as /p:PublishFolder="\\RemoteServerName\OfficialBuilds\Published\, but I got "\RemoteServerName\OfficialBuilds\Published\" in my MSBuild build file. Obviously, one backslash was dropped by the MSBuild plugin.

      If I changed the setting to /p:PublishFolder="\\\RemoteServerName\OfficialBuilds\Published\, the right share folder path of "\\RemoteServerName\OfficialBuilds\Published\" was transferred to my MSBuild build file

            tilalx Tilo
            weizhang99 Wei Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: