Hi,
I’ve got deployment project in TeamCity it will build solution, create nuget package and ask this to be deployed to OC.
As shown in log build artifact was version 0.30 and this is given to OC yet deployed package is 0.24…
Could you advice how to make sure this wouldn’t happen?
[11:34:44]Running command: octo.exe create-release --server http://xxxxxxx/octopus/ --apikey SECRET --project Current_API --enableservicemessages --version 0.30 --deployto Testing --waitfordeployment
[11:34:44]Creating Octopus Deploy release
[11:34:44]Octopus Deploy Command Line Tool, version 2.4.5.18
[11:34:44]
[11:34:44]Handshaking with Octopus server: http://xxxxxx/octopus/
[11:34:46]Handshake successful. Octopus version: 2.5.11.614; API version: 3.0.0
[11:34:46]Finding project: Current_API
[11:34:47]Finding deployment process for project: Current_API
[11:34:47]Finding release template…
[11:34:47]Resolving NuGet package versions…
[11:34:47]Finding latest NuGet package for step: Deploy current API
[11:34:47]Using version number provided on command-line.
[11:34:47]Release plan for release: 0.30
[11:34:47]Steps:
[11:34:47] # Name Version Source
[11:34:47] — -------------------- --------------- ------------------------------------
[11:34:47] 1 Deploy current API 0.24 Latest available in NuGet repository
[11:34:47]
[11:34:47]Creating release…
[11:34:47]Release 0.30 created successfully!
[11:34:47]##teamcity[setParameter name=‘octo.releaseNumber’ value=‘0.30’]
[11:34:48]Deploying Current_Api 0.30 to: Testing (Guided Failure: Enabled)
[11:34:48]Waiting for 1 deployment(s) to complete…
[11:35:18]Deploy Current_Api release 0.30 to Testing: Success
[11:35:18]Done!
[11:35:18]Octo.exe exit code: 0