Hi,
I am trying to implement my first deployment, and all works well until I try to create a release.
- I have a NuGet repository on a local Artifactory server.
- I can find the package from the external feeds page.
- When I click on Create Release, the packages are listed correctly.
- When I save the release, the list of packages shows each package with an error, i.e.,
The resource 'SW.FACTFinder.DataService.ServiceHost version 1.0.0' was not found.
If I try to go ahead and deploy the release I get:
Downloading NuGet package SW.FACTFinder.DataService.ServiceHost 1.0.0 from feed: 'http://ivy.sherwin.com/artifactory/api/nuget/factfinder-nuget-local'
16:34:34Error
Unable to download package: Could not find package SW.FACTFinder.DataService.ServiceHost 1.0.0 in feed: 'http://ivy.sherwin.com/artifactory/api/nuget/factfinder-nuget-local'
16:34:34Error
Failed to download package SW.FACTFinder.DataService.ServiceHost 1.0.0 from feed: 'http://ivy.sherwin.com/artifactory/api/nuget/factfinder-nuget-local'
16:34:34Error
System.Exception: The package could not be downloaded from NuGet. If you are getting a package verification error, try switching to a Windows File Share package repository to see if that helps.
16:34:34Error
at Calamari.Integration.PackageDownload.PackageDownloader.AttemptToDownload(String packageId, SemanticVersion version, Uri feedUri, String cacheDirectory, String& downloadedTo, IPackage& downloaded) in C:\TeamCity\BuildAgent\work\14ffc968155e4956\source\Calamari\Integration\PackageDownload\PackageDownloader.cs:line 152
16:34:34Error
at Calamari.Integration.PackageDownload.PackageDownloader.DownloadPackage(String packageId, SemanticVersion version, String feedId, Uri feedUri, Boolean forcePackageDownload, String& downloadedTo, String& hash, Int64& size) in C:\TeamCity\BuildAgent\work\14ffc968155e4956\source\Calamari\Integration\PackageDownload\PackageDownloader.cs:line 45
16:34:34Error
at Calamari.Commands.DownloadPackageCommand.Execute(String[] commandLineArguments) in C:\TeamCity\BuildAgent\work\14ffc968155e4956\source\Calamari\Commands\DownloadPackageCommand.cs:line 59
I have tried both options:
Octopus Server will download the package, then securely upload it to the Tentacles
Each Tentacle will download the package directly from the remote server
Finally, both the server and the tentacle services are started with the same windows userid.
I’m on version 3.3.20, the diagnostics file is attached, along with some images.
Thanks,
Patrick