This plug-in allows TeamCity builds to trigger deployments in Octopus Deploy.
Please raise and track issues for this project here.
Get the plugin
Download the plugin from the Octopus Deploy downloads page.
Installation and usage instructions are available in the Octopus Deploy documentation.
To build the plugin from code:
- Install the latest version of the JDK
- Install TeamCity
mvnw -Dteamcity.distribution=C:\TeamCity clean package(set the TeamCity directory to the location where you extracted or installed TeamCity locally). The
mvnwscript will download Maven for you if it is not already installed.
- The plugin is available at
Editing and debugging in IntelliJ
- Install TeamCity locally to
C:\TeamCity. Allow the service to start for the first time, and add an admin user. Then stop the service so it is not running.
- Give yourself full permissions to the Teamcity Data folder (usually
C:\ProgramData\JetBrains\TeamCity). This folder may be hidden.
- Import the Maven project into IntelliJ.
- Create a Tomcat Configuration:
- Under the
Startup/Connectiontab, set the
C:\TeamCity\bin\teamcity-server.bat runand the
C:\TeamCity\bin\teamcity-server.bat stop. Do this for both the
- Ensure that the
Before launchlist includes the step
Run Maven goal 'Octopus Deploy TeamCity plugin: package'.
- Run the
copy-plugin.cmdscript as an external tool after the Maven goal. This will copy the plugin to TeamCity.
- Ignore the
Warning: No artifacts configuredmessage.
- Click the
OKbutton to save your changes.
At this point the you can run TeamCity from IntelliJ. If need be you can run TeamCity in debug mode and step through the plugin code as it is executed by TeamCity.