I have tried to configure OctopusDeploy: Release according to http://octopusdeploy.com/documentation/integration/teamcity but I get this error:
Step 1/1: New build step (OctopusDeploy: Release)
[14:42:09][Step 1/1] Octopus Deploy
[14:42:09][Octopus Deploy] Running command: octo.exe create-release --server=“http://someserver:9999” --apikey=SECRET --project=“My Project” --enableservicemessages --version=“1.0.29.0” --deployto=“Dev” --waitfordeployment
[14:42:09][Octopus Deploy] Creating Octopus Deploy release
[14:42:09][Octopus Deploy] Failed to start build runner ‘octopus.create.release’
[14:42:09]
[Octopus Deploy] java.lang.IllegalArgumentException: Executable name has embedded quote, split the arguments
at java.lang.ProcessImpl.isQuoted(Unknown Source)
at java.lang.ProcessImpl.getExecutablePath(Unknown Source)
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at octopus.teamcity.agent.OctopusBuildProcess.startOcto(OctopusBuildProcess.java:87)
at octopus.teamcity.agent.OctopusBuildProcess.start(OctopusBuildProcess.java:47)
…
at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:220)
at java.lang.Thread.run(Unknown Source)
[14:42:09][Octopus Deploy] Step New build step (OctopusDeploy: Release) failed with unexpected error
If I copy the call to octo.exe and run it on the command line then the deployment completes successfully. Has anyone had this problem or know how to fix it?
Thanks,
Liam McLennan.