У меня проблема с задачей Publish Build Artifacts
в определении сборки. Когда он был добавлен в определение, для него была установлена опция Paraller Copy
, установленная на 8
. После изменения на 4
оно сломалось, даже если изменение отменено. Теперь работает только при отключенной опции Paraller Copy
. Вот файл журнала:
******************************************************************************
Starting: Publish Artifact to
******************************************************************************
==============================================================================
Task : Publish Build Artifacts
Description : Publish Build artifacts to the server or a file share
Version : 1.120.1
Author : Microsoft Corporation
Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=708390)
==============================================================================
robocopy.exe /E /COPY:DA /NP /R:3 /MT:8 "C:\BuildAgent-Publish\_work\1\s\Kdp" "C:\InstallationDataTemp" *
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows :: Version XP010
-------------------------------------------------------------------------------
Started : Tue Oct 15 14:22:25 2019
Source -
Dest -
Files :
Options : /S /E /COPY:DAT /NP /R:3 /W:30
------------------------------------------------------------------------------
ERROR : Invalid Parameter #5 : "/MT:8"
Simple Usage :: ROBOCOPY source destination /MIR
source :: Source Directory (drive:\path or \\server\share\path).
destination :: Destination Dir (drive:\path or \\server\share\path).
/MIR :: Mirror a complete directory tree.
For more usage information run ROBOCOPY /? or read Robocopy.Doc.
NOTE: Read "True Replication" in Robocopy.Doc prior to first use of /MIR !
**** /MIR can DELETE files as well as copy them !
robocopy exit code '16'
Publish build artifacts failed with error: powershell.exe failed with return code: 1
******************************************************************************
Async Command Start: Associate Artifact
******************************************************************************
Associated artifact 22 with build 227
******************************************************************************
Async Command End: Associate Artifact
******************************************************************************
******************************************************************************
Finishing: Publish Artifact to
******************************************************************************