Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 143529

VSTS artifact publication failing

$
0
0

Breaking down my issue, I deployed a build server via a standard LCS deployment (VSTS set up of course).  It deployed and now I have in my VSTS a new Main build definition.  I made no other changes.

|

I press "queue build" in VSTS and let the build run.  

|

The error I get is: Publishing build artifacts failed with an error: Not found PathtoPublish: C:\DynamicsSDK\VSOAgent\_work\1\a\Packages

|

As far as I am aware, I should not have to do any manual changes for VSTS, that this should be fully setup to go per LCS. I do see in the logs that it states, "0 packages created."   So I'm not sure if it is failing because there are no packages...or there is a path issue.  I've included more of the build log below.

|

Thoughts?

|

|

Starting: Generate Packages
******************************************************************************
==============================================================================
Task : PowerShell
Description : Run a PowerShell script
Version : 1.2.3
Author : Microsoft Corporation
Help : [More Information](go.microsoft.com/fwlink)
==============================================================================
. 'C:\DynamicsSDK\GeneratePackage.ps1' -BuildPackagePath "C:\DynamicsSDK\VSOAgent\_work\1\Packages" -BuildBinPath "C:\DynamicsSDK\VSOAgent\_work\1\Bin" -BuildMetadataPath "C:\DynamicsSDK\VSOAgent\_work\1\s\Metadata" -BuildVersion "2018.3.30.3" -NoRuntime:([bool]0) -NoSource:([bool]0) -Verbose -ExclusionList "" -IncludeBinaries:([bool]1)
VERBOSE: Loading module from path 'C:\DynamicsSDK\DynamicsSDKCommon.psm1'.
VERBOSE: Exporting function 'Write-Message'.
VERBOSE: Exporting function 'Set-AX7SdkEnvironmentVariables'.
VERBOSE: Exporting function 'Set-AX7SdkRegistryValues'.
VERBOSE: Exporting function 'Set-AX7SdkRegistryValuesFromAosWebConfig'.
VERBOSE: Exporting function 'Get-AX7SdkPath'.
VERBOSE: Exporting function 'Get-AX7SdkBackupPath'.
VERBOSE: Exporting function 'Get-AX7SdkTeamFoundationServerUrl'.
VERBOSE: Exporting function 'Get-AX7SdkDeploymentDatabaseName'.
VERBOSE: Exporting function 'Get-AX7SdkDeploymentDatabaseServer'.
VERBOSE: Exporting function 'Get-AX7SdkDeploymentAosWebsiteName'.
VERBOSE: Exporting function 'Get-AX7SdkDeploymentBinariesPath'.
VERBOSE: Exporting function 'Get-AX7SdkDeploymentMetadataPath'.
VERBOSE: Exporting function 'Get-AX7SdkDeploymentPackagesPath'.
VERBOSE: Exporting function 'Get-AX7DeploymentAosWebConfigPath'.
VERBOSE: Exporting function 'Get-AX7DeploymentAosWifConfigPath'.
VERBOSE: Exporting function 'Stop-AX7DeploymentAosWebsite'.
VERBOSE: Exporting function 'Start-AX7DeploymentAosWebsite'.
VERBOSE: Exporting function 'Stop-AX7Deployment'.
VERBOSE: Exporting function 'Start-AX7Deployment'.
VERBOSE: Importing function 'Get-AX7SdkDeploymentBinariesPath'.
VERBOSE: Importing function 'Get-AX7SdkTeamFoundationServerUrl'.
VERBOSE: Importing function 'Write-Message'.
VERBOSE: 4:34:17 PM: - Getting Dynamics SDK registry key...
VERBOSE: 4:34:17 PM: - Getting deployment binaries path...
VERBOSE: 4:34:17 PM: - Found deployment binaries path:
K:\AosService\PackagesLocalDirectory\Bin
VERBOSE: 4:34:17 PM: - Adding type from:
K:\AosService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.ApplicationPlatform
.Development.Instrumentation.dll
True
VERBOSE: 4:34:18 PM: - Event: EventWriteDevALMTaskGeneratePackagesStart
4:34:18 PM: Script completed with exit code: 0
VERBOSE: Importing function 'Get-AX7DeploymentAosWebConfigPath'.
VERBOSE: Importing function 'Get-AX7SdkDeploymentAosWebsiteName'.
VERBOSE: Importing function 'Get-AX7SdkDeploymentBinariesPath'.
VERBOSE: Importing function 'Get-AX7SdkDeploymentMetadataPath'.
VERBOSE: Importing function 'Write-Message'.
4:34:18 PM: Generating deployable packages for build in: C:\DynamicsSDK\VSOAgent\_work\1\Bin
VERBOSE: 4:34:18 PM: - Getting Dynamics SDK registry key...
VERBOSE: 4:34:18 PM: - Getting deployment binaries path...
VERBOSE: 4:34:18 PM: - Found deployment binaries path:
K:\AosService\PackagesLocalDirectory\Bin
VERBOSE: 4:34:18 PM: - Getting Dynamics SDK registry key...
VERBOSE: 4:34:18 PM: - Getting deployment metadata path...
VERBOSE: 4:34:18 PM: - Found deployment metadata path:
K:\AosService\PackagesLocalDirectory
4:34:18 PM: Finding source-controlled runtime packages in: C:\DynamicsSDK\VSOAgent\_work\1\s\Metadata
4:34:18 PM: Finding package names in: C:\DynamicsSDK\VSOAgent\_work\1\Bin
4:34:18 PM: Found 0 package names.
WARNING: 4:34:18 PM: No package names could be found. No deployable runtime
package will be created.
4:34:18 PM: Finding model names in: C:\DynamicsSDK\VSOAgent\_work\1\s\Metadata
4:34:18 PM: Found 0 model names.
WARNING: 4:34:18 PM: No model names could be found. No model source package
will be created.
4:34:18 PM: Generating deployable packages complete.
VERBOSE: Importing function 'Get-AX7SdkDeploymentBinariesPath'.
VERBOSE: Importing function 'Get-AX7SdkTeamFoundationServerUrl'.
VERBOSE: Importing function 'Write-Message'.
VERBOSE: 4:34:18 PM: - Getting Dynamics SDK registry key...
VERBOSE: 4:34:18 PM: - Getting deployment binaries path...
VERBOSE: 4:34:18 PM: - Found deployment binaries path:
K:\AosService\PackagesLocalDirectory\Bin
VERBOSE: 4:34:18 PM: - Adding type from:
K:\AosService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.ApplicationPlatform
.Development.Instrumentation.dll
True
VERBOSE: 4:34:18 PM: - Event: EventWriteDevALMTaskGeneratePackagesStop
4:34:18 PM: Script completed with exit code: 0
4:34:18 PM: Script completed with exit code: 0
******************************************************************************
Finishing: Generate Packages
******************************************************************************
******************************************************************************
Starting: Copy Files to: Staging Directory
******************************************************************************
==============================================================================
Task : Copy Files
Description : Copy files from source folder to target folder using match patterns (The match patterns will only match file paths, not folder paths)
Version : 2.117.0
Author : Microsoft Corporation
Help : [More Information](go.microsoft.com/fwlink)
==============================================================================
found 0 files
******************************************************************************
Finishing: Copy Files to: Staging Directory
******************************************************************************
******************************************************************************
Starting: Publish Artifact: Packages
******************************************************************************
==============================================================================
Task : Publish Build Artifacts
Description : Publish build artifacts to Visual Studio Team Services/TFS or a file share
Version : 1.131.0
Author : Microsoft Corporation
Help : [More Information](go.microsoft.com/fwlink)
==============================================================================
Publishing build artifacts failed with an error: Not found PathtoPublish: C:\DynamicsSDK\VSOAgent\_work\1\a\Packages
******************************************************************************
Finishing: Publish Artifact: Packages

Viewing all articles
Browse latest Browse all 143529

Trending Articles