anchor.diff:      }
   ----
   
  -=== Publishing a plugin
  +==== Publishing a plugin
   
   The `publishPlugin` task is used to upload the plugin archive to the
   {uri-jetbrains-plugin-portal}[JetBrains TeamCity Plugin Repository]. Before publishing a plugin you will need
  
positive.code: * `teamcity.environments.baseDataDir`
  * `teamcity.environments.baseHomeDir`
  
  Within the `environments` configuration block multiple TeamCity environments can be defined, each environment supports the following properties
  
  * `version` : The TeamCity version, the version of TeamCity to download and install locally. Defaults to '{default-api-version}'.
  * `downloadUrl` : The URL used to download the TeamCity installer. Defaults to `${baseDownloadUrl}/TeamCity-${version}.tar.gz`.
  
negative.code: 
  The server plugin can be combined with the agent plugin in the same project but not with the Java Plugin.
  
  ==== Configuration
  
  The following properties can be defined in the `server` configuration block.
  
  