...
We use Jenkins to build, set the environment variables and deploy to the servers
Creating a project in Octopus Deploy
Before creating a Jenkins job you must create the project in the Octopus interface, a project in Octopus deploy is a recipe for how to deploy the executables.
The KODIAK Trade Report Server is a good example of how a Windows Service is deployed.
...
Setting up a Jenkins job
One Jenkins job must create the release before it can be deployed, it can be done in the post build action. Please note that a release can only be created once if it is created again the build will fail. Thus it is best to create the release on the main release/staging/develop builds and create a new build that deploys and changes the environmental variables.
Example of create version settings in Jenkins:
...