anchor.diff:                  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')
  +            teamcity20172 {
  +                version = '2017.2.4'
  +                downloadUrl = 'http://repository/teamcity/TeamCity-2017.2.4.tar.gz'
  +                homeDir = file("$rootDir/teamcity/servers/TeamCity-2017.2.4")
  +                dataDir = file("$rootDir/teamcity/data/2017.2")
  +                javaHome = file('/opt/jdk1.8.0_202')
                   // 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')
  +            'teamcity2018.2' {
  +                version = '2018.2.2'
  +                javaHome = file('/opt/jdk1.8.0_202')
               }
           }
       }
  
positive.code:                 serverOptions("-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5500")
              }
  
              "teamcity2017.1" {
                  version = "2017.1.5"
                  javaHome = file(extra["java8Home"] as String)
  
                  // Replace the default server options
                  setServerOptions("-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5500")
              }
  
              "teamcity2017.2" {
                  version = "2017.2.2"
              }
          }
      }
  
negative.code: ----
      extra["downloadsDir"] = project.findProperty("downloads.dir") ?: "${rootDir}/downloads"
      extra["java7Home"] = project.findProperty("java7.home") ?: "/opt/jdk1.7.0_80"
      extra["java8Home"] = project.findProperty("java8.home") ?: "/opt/jdk1.8.0_202"
  
  
      teamcity {
  