package patches.buildTypes

import jetbrains.buildServer.configs.kotlin.v2018_1.*
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_RunFullBuildSuite'
accordingly, and delete the patch script.
*/
changeBuildType(RelativeId("PullRequest_RunFullBuildSuite")) {
    dependencies {
        expect(RelativeId("PullRequest_Build")) {
            snapshot {
                reuseBuilds = ReuseBuilds.NO
                onDependencyCancel = FailureAction.ADD_PROBLEM
            }
        }
        update(RelativeId("PullRequest_Build")) {
            snapshot {
                reuseBuilds = ReuseBuilds.NO
                onDependencyFailure = FailureAction.CANCEL
                onDependencyCancel = FailureAction.ADD_PROBLEM
            }
        }

    }
}
