Hi,
I am trying to deploy using Teamcity . However I am getting the following error message :-
“No package version was specified for the step ‘Deploy new release’”
[10:03:08]Step 2/2: Create and Deploy Release (1) (OctopusDeploy: Create release) (3s)
[10:03:10][Step 2/2] Octopus Deploy (1s)
[10:03:10][Octopus Deploy] Running command: octo.exe create-release --server https://octopus.worldremit.com:444 --apikey SECRET --project Correspondents Simulator --enableservicemessages --version 1.22.0.142 --deployto staging.worldremit.com --progress --packageVersion=1.22.0.142
[10:03:10][Octopus Deploy] Creating Octopus Deploy release
[10:03:10][Octopus Deploy] Octopus Deploy Command Line Tool, version 2.5.3.33
[10:03:10][Octopus Deploy]
[10:03:11][Octopus Deploy] Handshaking with Octopus server: https://octopus.worldremit.com:444
[10:03:11][Octopus Deploy] Handshake successful. Octopus version: 2.6.5.1010; API version: 3.0.0
[10:03:11][Octopus Deploy] Finding project: Correspondents Simulator
[10:03:11][Octopus Deploy] Finding deployment process for project: Correspondents Simulator
[10:03:12][Octopus Deploy] Finding release template…
[10:03:12][Octopus Deploy] Using version number provided on command-line.
[10:03:12][Octopus Deploy] Release plan for release: 1.22.0.142
[10:03:12][Octopus Deploy] Steps:
[10:03:12][Octopus Deploy] # Name Version Source
[10:03:12][Octopus Deploy] — ------------------------ --------------- ------------------------------------
[10:03:12][Octopus Deploy] 1 Deploy Release Package 1.22.0.142 User specified
[10:03:12][Octopus Deploy]
[10:03:12][Octopus Deploy] Creating release…
[10:03:12][Octopus Deploy] Error from Octopus server (HTTP 400): There was a problem with your request.
[10:03:12][Octopus Deploy]
[10:03:12][Octopus Deploy] - No package version was specified for the step ‘Deploy new release’
[10:03:12][Octopus Deploy]
[10:03:12][Octopus Deploy] Exit code: -7
[10:03:12][Octopus Deploy] Octo.exe exit code: -7