OctopusDeploy/Octopus-Tools — Issue #9: --Force parameter not working?
Author: pcgeek86
Created: 2012-03-08 21:23:40+00:00
State: open

I'm trying to use the --Force parameter so that I don't have to constantly increment the version number to perform test deployments of a Nuget package. Unfortunately, it seems to fail out when I try to do a repeat deployment (same version # with --Force).

Octopus Command Line Tool, version 1.0.0.0

Finding project: SocialCash.BuyingPlatform.TagRelease
Handshaking with Octopus server:
Handshake successful. Octopus version: 0.9.620.4
Finding environments...
Finding steps for project...
Getting latest package versions for each step...
1. - latest: 2012.3.8.15
Creating release: 2012.03.08.18
The remote server returned an error: (400) Bad Request. Bad Request
System.Exception: The remote server returned an error: (400) Bad Request. Bad Request
at OctopusTools.Client.OctopusSession.ReadResponse(WebRequest request)
at OctopusTools.Client.OctopusSession.Create[TResource](String path, TResource resource)
at ProjectExtensions.CreateRelease(IOctopusSession session, Project project, List`1 latestVersions, String version, String releaseNotes)
at OctopusTools.Commands.CreateReleaseCommand.Execute()
at OctopusTools.Infrastructure.CommandProcessor.Process(String[] args)

Cheers,
**Trevor Sullivan**
http://trevorsullivan.net
http://twitter.com/pcgeek86