Error while deploying a release

Rahul Lunia 1 Reputation point
2021-08-26T07:36:47.067+00:00

Hi, I am getting an error when running the pipeline to deploy it in Octopus Deploy

System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\a\9\a\build_publishedWebsites\ISG.CDP.API'.
at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) at System.IO.Enumeration.FileSystemEnumerator1..ctor(String directory, EnumerationOptions options)
at System.IO.Enumeration.FileSystemEnumerable1..ctor(String directory, FindTransform transform, EnumerationOptions options) at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options) at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options) at NuGet.Common.PathResolver.PerformWildcardSearch(String basePath, String searchPath, Boolean includeEmptyDirectories, String& normalizedBasePath) at NuGet.Packaging.PackageBuilder.ResolveSearchPattern(String basePath, String searchPath, String targetPath, Boolean includeEmptyDirectories) at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable1 files)
at Octopus.Cli.Commands.Package.NuGetPackageBuilder.BuildPackage(String basePath, IList`1 includes, ManifestMetadata metadata, String outFolder, Boolean overwrite, Boolean verboseInfo) in C:\BuildAgent\work\289bf0fca31007af\source\Octopus.Cli\Commands\Package\NuGetPackageBuilder.cs:line 39
at Octopus.Cli.Commands.Package.PackCommand.<>c__DisplayClass21_0.<Execute>b__0() in C:\BuildAgent\work\289bf0fca31007af\source\Octopus.Cli\Commands\Package\PackCommand.cs:line 167
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
at Octopus.Cli.CliProgram.Run(String[] args) in C:\BuildAgent\work\289bf0fca31007af\source\Octopus.Cli\CliProgram.cs:line 54
Exit code: -3

Could you please help ?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,798 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 27,891 Reputation points Microsoft Vendor
    2021-08-26T08:40:15.97+00:00

    Hi @Rahul Lunia ,

    Your issue is more related to Azure DevOps. It is currently not supported in the Microsoft Q&A, the supported products are listed over here https://learn.microsoft.com/en-us/answers/products (more to be added later on).

    You can ask in the dedicated Azure DevOps forum over here:
    https://developercommunity.visualstudio.com/report?space=21&entry=problem

    Sincerely,
    Anna
    *
    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments