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

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/hudson/plugins/msbuild/MsBuildBuilder.java
          src/test/java/hudson/plugins/msbuild/MsBuildBuilderTest.java
          http://jenkins-ci.org/commit/msbuild-plugin/bdec2dfe089d62a80fd0371db605ee9c3ebbe41b
          Log:
          Fix JENKINS-22344 and JENKINS-22451

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/hudson/plugins/msbuild/MsBuildBuilder.java src/test/java/hudson/plugins/msbuild/MsBuildBuilderTest.java http://jenkins-ci.org/commit/msbuild-plugin/bdec2dfe089d62a80fd0371db605ee9c3ebbe41b Log: Fix JENKINS-22344 and JENKINS-22451
          Hide
          akhil_aggarwal Akhil Aggarwal added a comment -

          This issue is not fixed in MSBuild plugin 1.24
          Backslash is still getting truncated at the beginning of the network location.

          Show
          akhil_aggarwal Akhil Aggarwal added a comment - This issue is not fixed in MSBuild plugin 1.24 Backslash is still getting truncated at the beginning of the network location.

            People

            • Assignee:
              kdsweeney kdsweeney
              Reporter:
              weizhang99 Wei Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: