Skip to content

yaegor/teamcity-buildsParameterType

Repository files navigation

A prototype JetBrains TeamCity plugin to demonstrate ability to provide custom type for typed parameters ( http://confluence.jetbrains.com/display/TCD8/Typed+Parameters )

Provides new "Build" parameter type which is configured with build configuration id and lists builds of the build configuration in the custom run build dialog.

Note: plugin maintenance is not provided by JetBrains, use at your own risk.

TeamCity versions compatibility: 8.0+
The plugin uses non-open API.

-- How to build the project --

Pre-requisites:
- JDK 1.6
- IntelliJ IDEA (12+, Ultimate edition recommended)
- Ant 1.7+
- TeamCity 8.0+ .tar.gz distribution

The project is compatible with IntelliJ IDEA 12+ and TeamCity 8.0+
Sequence of IDEA setup:
- configure Path Variable "TeamCityDistribution" in IDEA Settings/Project Variables to point to the unpacked TeamCity .tar.gz distribution. Use the minimum version the plugin should be compatible with.
- configure Path Variable "TeamCityDataDirectory" in IDEA Settings/Project Variables to point to the data directory to be used.
- open the project (please make sure to configure path variables before first project opening)
- configure Project SDK the in "Project Structure"/Project to point to JDK 1.6 or greater (minimum JDK version applicable for TeamCity server and agent is recommended)
- (IntelliJ IDEA Ultimate only) configure Application server in "Run TeamCity server with plugin" run configuration to point to the TeamCity distribution

- (optional) consider changing code style to have 2 spaces tabs and indents

(IntelliJ IDEA Ultimate only) To run the TeamCity server with the plugin deployed from IDEA run "Run TeamCity server with plugin" run configuration

To build with Ant:
- edit build.properties to configure path TeamCity Data Directory
- edit build.properties to configure path to TeamCity distribution and path to TeamCity Data Directory
- after any project structure changes (e.g. deleting or adding a module) make sure you invoke "Generate Ant Build" in IDEA with the only options selected: single file, Enable UI forms

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages