Hi!
I’m trying to trigger an automatic release creation when I upload a NuGet package to the Octopus internal NuGet server. The package is created in and automatically uploaded by a TeamCity server. The upload it self seems to be working as I can find the uploaded package in C:\Octopus\OctopusServer\Repository\Packages<package name><package name>.nupkg on the Octopus server.
After uploading a new build however, a new release is not created, and I get the following errors in the server logs:
2015-01-27 20:51:10.6550 ERROR Error in Octopus.PackageEvaluator@SQ-BE-DEV-001-96C77E10 while receiving d3bb0624-a65d-11e4-a285-000c29fd99d8
System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func
2 predicate)
at Octopus.Server.Communications.Packages.PackageEvaluator.Evaluate(String packageId, String packageVersion) in y:\work\refs\heads\release\source\Octopus.Server\Communications\Packages\PackageEvaluator.cs:line 107
at Pipefish.Actor.OnReceivingTyped[TBody](Message message) in y:\work\3cbe05672d69a231\source\Pipefish\Actor.cs:line 113
2015-01-27 20:51:10.6550 ERROR Caught exception while receiving: Octopus.Server.Communications.Packages.PackagePushedEvent
System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func
2 predicate)
at Octopus.Server.Communications.Packages.PackageEvaluator.Evaluate(String packageId, String packageVersion) in y:\work\refs\heads\release\source\Octopus.Server\Communications\Packages\PackageEvaluator.cs:line 107
at Pipefish.Actor.OnReceivingTyped[TBody](Message message) in y:\work\3cbe05672d69a231\source\Pipefish\Actor.cs:line 113
… and a new release has not been generated.
The package I am uploading does not have any dependencies, and has the fields Id, Version, Title, Authors, Owners, Copyright and Description. This is the first time I’m trying to configure Octopus, so please let me know if you need more information about configuration. Creating a release and deploying manually works fine.
regards,
Øyvind