features

fun features(init: BuildFeatures.() -> Unit)

Configures build features

Example. Add approval to the build

See also Approval

features {
    approval {
        approvalRules = "user:qa"
    }
}

Example. Import test results into TeamCity from the JUnix test results XML files

See also XML report processing

features {
    xmlReport {
        reportType = XmlReport.XmlReportType.JUNIT
        rules = "test-reports/**.xml"
    }
}
*/

Parameters

init

function to initialize build features