gameasfen.blogg.se

Teamcity tool
Teamcity tool









Regardless of the TeamCity version you’ve selected, you will be asked to enter the Maven groupId, artifactId and the version for your plugin. repository -DarchetypeArtifactId=teamcity-sample-plugin Sample plugin: mvn :maven-archetype-plugin:2.4:generate Plugin with both the server and agent parts: mvn :maven-archetype-plugin:2.4:generate DarchetypeArtifactId=teamcity-server-plugin Server-side-only plugin: mvn :maven-archetype-plugin:2.4:generate The Maven commands to generate projects for different plugins depending on the TeamCity version are given below:

  • teamcity-sample-plugin: the plugin with the sample code (adds a “Click me” button to the bottom of the TeamCity project Overview page).
  • teamcity-server-plugin: an empty plugin, includes the server plugin part only.
  • teamcity-plugin: an empty plugin, includes both the server and the agent plugin parts.
  • To deploy your plugin project faster and more conveniently, you can use one of the three Maven archetypes in the group Add the following fragment to the section of your pom file to access it: To develop the Maven plugin for TeamCity, TeamCity Open API is available as a set of Maven artifacts residing in the JetBrains Maven repository.
  • An IDE that allows developing TeamCity plugins on Java installed (e.g., IntelliJ IDEA).
  • JDK 8 installed and JAVA_HOME variable set (the variable contains a path to the JDK software).
  • Preparing the development environmentīefore you start developing a plugin for TeamCity, you must first prepare your environment.
  • Server module (encapsulates logic that will be run on the server side).
  • teamcity tool

    Common module (a module with shared code).Agent module (encapsulates logic that will be run on the agent side).Build module (contains only configuration files and defines how the plugin is compiled).

    #TEAMCITY TOOL ZIP FILE#

    Organizing the business logic of the plugin.Ī plugin in TeamCity is a zip file containing a Java class file, JSP files, resources, and plugin descriptor files.Steps for implementing a TeamCity Plugin include:









    Teamcity tool