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

          weizhang99 Wei Zhang created issue -
          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
          gbois Gregory Boissinot made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          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.
          akhil_aggarwal Akhil Aggarwal made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 154435 ] JNJira + In-Review [ 186188 ]

            People

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

              Dates

              Created:
              Updated: