package patches.buildTypes

import jetbrains.buildServer.configs.kotlin.v2018_1.*
import jetbrains.buildServer.configs.kotlin.v2018_1.buildSteps.dockerCompose
import jetbrains.buildServer.configs.kotlin.v2018_1.buildSteps.script
import jetbrains.buildServer.configs.kotlin.v2018_1.ui.*

/*
This patch script was generated by TeamCity on settings change in UI.
To apply the patch, change the buildType with id = 'PullRequest_Build'
accordingly, and delete the patch script.
*/
changeBuildType(RelativeId("PullRequest_Build")) {
    expectSteps {
        script {
            name = "Test ruby script"
            id = "RUNNER_173"
            scriptContent = """
                #!/usr/bin/env ruby
                
                puts 'test'
            """.trimIndent()
        }
        dockerCompose {
            id = "RUNNER_311"
        }
    }
    steps {
        items.removeAt(1)
    }
}
