Skip to content

Commit 72b6355

Browse files
committed
Updated engineering.
1 parent 4cdd481 commit 72b6355

File tree

3 files changed

+3
-77
lines changed

3 files changed

+3
-77
lines changed

.teamcity/settings.kts

Lines changed: 1 addition & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ project {
1717
buildType(ReleaseBuild)
1818
buildType(PublicBuild)
1919
buildType(PublicDeployment)
20-
buildType(DownstreamMerge)
2120

22-
buildTypesOrder = arrayListOf(DebugBuild,ReleaseBuild,PublicBuild,PublicDeployment,DownstreamMerge)
21+
buildTypesOrder = arrayListOf(DebugBuild,ReleaseBuild,PublicBuild,PublicDeployment)
2322

2423
}
2524

@@ -493,76 +492,3 @@ object PublicDeployment : BuildType({
493492

494493
})
495494

496-
object DownstreamMerge : BuildType({
497-
498-
name = "Downstream Merge"
499-
500-
params {
501-
text("DownstreamMergeArguments", "", label = "Merge downstream Arguments", description = "Arguments to append to the 'Merge downstream' build step.", allowEmpty = true)
502-
text("DefaultBranch", "develop/2025.0", label = "Default Branch", description = "The default branch of this build configuration.")
503-
text("TimeOut", "300", label = "Time-Out Threshold", description = "Seconds after the duration of the last successful build.", regex = """\d+""", validationMessage = "The timeout has to be an integer number.")
504-
}
505-
506-
vcs {
507-
root(AbsoluteId("Metalama_Metalama20250_MetalamaExtensions"))
508-
}
509-
510-
steps {
511-
powerShell {
512-
name = "Merge downstream"
513-
id = "DownstreamMerge"
514-
scriptMode = file {
515-
path = "Build.ps1"
516-
}
517-
noProfile = false
518-
scriptArgs = "tools git merge-downstream %DownstreamMergeArguments%"
519-
}
520-
}
521-
522-
failureConditions {
523-
failOnMetricChange {
524-
metric = BuildFailureOnMetric.MetricType.BUILD_DURATION
525-
units = BuildFailureOnMetric.MetricUnit.DEFAULT_UNIT
526-
comparison = BuildFailureOnMetric.MetricComparison.MORE
527-
compareTo = build {
528-
buildRule = lastSuccessful()
529-
}
530-
stopBuildOnFailure = true
531-
param("metricThreshold", "%TimeOut%")
532-
}
533-
}
534-
535-
requirements {
536-
equals("env.BuildAgentType", "caravela04cloud")
537-
}
538-
539-
features {
540-
swabra {
541-
lockingProcesses = Swabra.LockingProcessPolicy.KILL
542-
verbose = true
543-
}
544-
sshAgent {
545-
// By convention, the SSH key name is always PostSharp.Engineering for all repositories using SSH to connect.
546-
teamcitySshKey = "PostSharp.Engineering"
547-
}
548-
}
549-
550-
triggers {
551-
vcs {
552-
watchChangesInDependencies = true
553-
branchFilter = "+:develop/2025.0"
554-
// Build will not trigger automatically if the commit message contains comment value.
555-
triggerRules = "-:comment=<<VERSION_BUMP>>|<<DEPENDENCIES_UPDATED>>:**"
556-
}
557-
}
558-
559-
dependencies {
560-
dependency(DebugBuild) {
561-
snapshot {
562-
onDependencyFailure = FailureAction.FAIL_TO_START
563-
}
564-
}
565-
}
566-
567-
})
568-

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</PropertyGroup>
66
<!-- Set versions of dependencies that need special treatment or consist of multiple packages of the same version. -->
77
<PropertyGroup>
8-
<PostSharpEngineeringVersion Condition="'$(PostSharpEngineeringVersion)'==''">2023.2.152</PostSharpEngineeringVersion>
8+
<PostSharpEngineeringVersion Condition="'$(PostSharpEngineeringVersion)'==''">2023.2.157</PostSharpEngineeringVersion>
99
</PropertyGroup>
1010
<ItemGroup>
1111
<PackageVersion Include="PostSharp.Engineering.BuildTools" Version="$(PostSharpEngineeringVersion)" />

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"rollForward": "patch"
55
},
66
"msbuild-sdks": {
7-
"PostSharp.Engineering.Sdk": "2023.2.152"
7+
"PostSharp.Engineering.Sdk": "2023.2.157"
88
}
99
}

0 commit comments

Comments
 (0)