anchor.diff:  :uri-jetbrains-plugin-portal: https://plugins.jetbrains.com/teamcity
   :plugin-version: 1.0
   :default-api-version: 9.0
  -:example-api-version: 8.1
  +:example-api-version: 2017.1
   
   The plugin provides support to {uri-teamcity-extending}[develop TeamCity plugins], creating agent and server side archives, publishing them to {uri-jetbrains-plugin-portal}[plugins portal], downloading and
   installing a TeamCity server and tasks to deploy, start and stop the server and agent.
  
positive.code:             }
  
              "teamcity2017.1" {
                  version = "2017.1.4"
                  javaHome = file(extra["java8Home"])
  
                  // Replace the default server options
                  setServerOptions("-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5500")
              }
          }
      }
  
negative.code:             baseHomeDir = 'teamcity/servers'
              baseDataDir = 'teamcity/data'
  
              teamcity91 {
                  version = '9.1.7'
                  javaHome = file('/opt/jdk1.7.0_80')
                  // Add to the default server options
                  serverOptions '-Dproperty=value'
                  serverOptions '-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5500'
              }
  
              teamcity20171 {
                  version = '2017.1.5'
                  downloadUrl = 'http://repository/teamcity/TeamCity-2017.1.5.tar.gz'
                  homeDir = file("$rootDir/teamcity/servers/TeamCity-2017.1.5")
                  dataDir = file("$rootDir/teamcity/data/2017.1")
                  javaHome = file('/opt/jdk1.8.0_162')
                  // Replace the default server options
                  serverOptions = '-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5500'
              }
  
              'teamcity2017.2' {
                  version = '2017.2.2'
                  javaHome = file('/opt/jdk1.8.0_162')
              }
          }
      }
  ----
  