Reputation: 6768
As a new user of the Octopus Deploy needs to do many manual things, I am looking for a way to automate those things for my local windows server and clients.
Give the details of what I am doing and what I need to get done manually. Following are the steps I am following:
Create package command
msbuild /t:build /p:RunOctoPack=true
/p:OctoPackPackageVersion=1.0.0-BETA-1 /p:OctoPackReleaseNotesFile=ReleaseNotes.txt
/p:OctoPackPublishPackageToHttp=http://localhost/nuget/packages /p:OctoPackPublishApiKey=API-9MQWIWVDKR44YSGYROUGPPFBXX
Upvotes: 0
Views: 5265
Reputation: 5763
I think you're asking how to configure Octopus Deploy to automatically set the Release version number based on a Package version number, and make it automatically create a Release when a new package arrives, and make it deploy that Release as soon as it is created. (But I only got that from the title of your question - there wasn't a question in the body of your question, so I hope I have understood what you wanted)
Now when you create a Package it will create a Release with the same version number, and deploy it to your first environment.
If you have an automated build on place, this means that just by checking in a change to your application, the new version will be deployed into your first environment without doing anything else.
So the only manual thing is the one-off costs of initially setting up the automated build and the Octopus Deploy project.
Upvotes: 4