TeamCity Plugin
The Quali Stack Automation plugin lets developers trigger application environments on-demand directly from their TeamCity pipelines. TeamCity users can easily integrate the Stack Automation environments-as-a-service platform into their projects by utilizing the Stack Automation plugin’s pre-defined commands.
To integrate Stack Automation with the Spinnaker plugin, make sure to complete the next few steps.
1. Install
- Open the Stack Automation Plugin page in the Jetbrains marketplace.
- Download the latest version of the Stack Automation plugin.
- Open the TeamCity web UI as an administrator and perform the following steps:
- Browse to the Administration > Plugins page.
- Click the Upload plugin zip and upload the teamcity-torque-plugin.zip. A warning message is displayed recommending that you restart the TeamCity Server.
- Click Restart and wait for TeamCity to initiate.
- To verify that the installation is successfully completed:
- Browse to the Administration > Plugins List page.
- Under the External plugins section, verify that the Stack Automation Plugin appears with no warnings.
- Open the Projects Overview page and open any project.
- Click Edit Project Settings.
- Under the left General Settings list, a Stack Automation option appears (the tab will appear only if TeamCity was restarted as described in step 3).
2. Configure
-
Open TeamCity as Administrator.
-
Open the Project Administration page and click the Stack Automation tab.
-
Click Connect.
-
Under the General Configuration section, enter the following parameters:
- Torque Server URL: https://portal.qtorque.com
- Token: Use the Token generated below
-
Click the Generate New Token button in the plugin's instructions pane.
3. Verify and launch
After installing and configuring the TeamCity plugin, you can launch environments from your TeamCity Pipeline. Note that this plugin only supports environments. Use the available build steps to create an environment from any blueprint, retrieve its details, start your tests and end the environment when it's no longer needed.