I am trying to integrate Octopus Deploy with TeamCity. I have Octopus Deploy able to publish my Azure website, using MS Deploy, but from TeamCity I get an error:
[14:16:45]Step 1/1: Package deploy (OctopusDeploy: Deploy release) (1s)
[14:16:46][Step 1/1] Octopus Deploy (1s)
[14:16:46][Octopus Deploy] Running command: octo.exe deploy-release --server http://infinibuild.cloudapp.net:81 --apikey SECRET --project Form Engine --enableservicemessages --version 184.108.40.206 --deployto Dev --defaultpackageversion=220.127.116.11
[14:16:46][Octopus Deploy] Deploying Octopus Deploy release
[14:16:46][Octopus Deploy] Octopus Deploy Command Line Tool, version 18.104.22.168
[14:16:47][Octopus Deploy] Unrecognized command arguments: --defaultpackageversion=22.214.171.124
[14:16:47][Octopus Deploy] Exit code: -1
[14:16:47][Octopus Deploy] Octo.exe exit code: -1
[14:16:47][Step 1/1] Unable to create or deploy release. Please check the build log for details on the error.
[14:16:47][Step 1/1] Step Package deploy (OctopusDeploy: Deploy release) failed
I have tried --packageversion and --defaultpackageversion, but I get the same error each time.
I can see that I am using an equals sign instead of a space as the other commands do, but if I put a space in the Build Step, it is replaced with a comma. I got this from the article: http://docs.octopusdeploy.com/display/OD/TeamCity
Can you see what I am doing wrong?