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: The plugin descriptor properties are shown in the examples below and described in the TeamCity documentation for
  {uri-server-descriptor}[Server-Side Plugin Descriptor]
  
  === TeamCity Server Plugin Tasks
  
  * `serverPlugin` : Builds and packages a TeamCity plugin. The task performs validation of the plugin descriptor
  and outputs a warning if a required value is missing.
  
negative.code: * `stop<environment>Agent` : Stops the default TeamCity Build Agent for the environment, requires the environment `homeDir` property to be defined.
  * `install<environment>` : Downloads and installs TeamCity for the environment, this tasks uses the `downloadBaseUrl` and the environment `homeDir` properties.
  
  ==== Examples
  
  [source,groovy]
  [subs="attributes"]
  