File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
src/PostSharp.Engineering.BuildTools/ContinuousIntegration/TeamCity Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,9 @@ import jetbrains.buildServer.configs.kotlin.buildFeatures.*
4242import jetbrains.buildServer.configs.kotlin.buildSteps.powerShell
4343import jetbrains.buildServer.configs.kotlin.failureConditions.*
4444import jetbrains.buildServer.configs.kotlin.triggers.*
45+ import jetbrains.buildServer.configs.kotlin.projectFeatures.*
4546
46- version = ""2024.03 ""
47+ version = ""2025.07 ""
4748
4849project {
4950" ) ;
@@ -61,6 +62,21 @@ void WriteProjectBody( TeamCityProject project )
6162 }
6263
6364 writer . WriteLine ( ) ;
65+
66+ writer . WriteLine (
67+ """
68+ features {
69+ untrustedBuildsSettings {
70+ id = "UNTRUSTED_BUILD_SETTINGS_EXT"
71+ defaultAction = UntrustedBuildsSettings.DefaultAction.APPROVE
72+ enableLog = true
73+ approvalRules = "group:UNTRUSTED_BUILD_APPROVERS:1"
74+ }
75+ }
76+ """ ) ;
77+
78+ writer . WriteLine ( ) ;
79+
6480 var configurationsOrder = string . Join ( ',' , project . _configurations . Select ( c => c . ObjectName ) . Concat ( this . _additionalBuildTypes ) ) ;
6581 writer . WriteLine ( $ " buildTypesOrder = arrayListOf({ configurationsOrder } )" ) ;
6682
You can’t perform that action at this time.
0 commit comments