anchor.diff:                  serverOptions("-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5500")
               }
   
  -            "teamcity2017.1" {
  -                version = "2017.1.5"
  +            "teamcity2017.2" {
  +                version = "2017.2.4"
                   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"
  +            "teamcity2018.2" {
  +                version = "2018.2.2"
               }
           }
       }
  
positive.code:                 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')
              }
          }
      }
  
negative.code: 
  image:https://travis-ci.org/rodm/gradle-teamcity-plugin.svg?branch=master["Build Status", link="https://travis-ci.org/rodm/gradle-teamcity-plugin"]
  image:https://ci.appveyor.com/api/projects/status/github/rodm/gradle-teamcity-plugin?branch=master&svg=true["Build Status", link="https://ci.appveyor.com/project/rodm/gradle-teamcity-plugin"]
  
  == Supported Gradle and Java versions
  
  |===
  |Plugin version |Gradle version |Java version |Documentation
  |v1.2
  |4.0+
  |Java 7 & later
  |{uri-github-project}/blob/v1.2/README.adoc#using-the-plugin[README]
  |v1.1
  |3.0+
  |Java 7 & 8
  |{uri-github-project}/blob/v1.1/README.adoc#using-the-plugin[README]
  |v1.0
  |2.8+
  |Java 7 & 8
  |{uri-github-project}/blob/v1.0/README.adoc#using-the-plugin[README]
  |===
  
  == Building the plugin
  
  To build the plugin and run the unit tests run
  
      ./gradlew -s check
  
  To run the functional tests run
  
      ./gradlew -s functionalTest
  
  To test the samples run
  
      ./gradlew -s samplesTest
  
  == Using the plugin
  
  