Skip to content

Commit

Permalink
Clean up teamcity settings and add ci skip option
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstaeding committed Jun 2, 2024
1 parent c1c9a8b commit 5a55299
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .teamcity/settings.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ import jetbrains.buildServer.configs.kotlin.buildFeatures.PullRequests
import jetbrains.buildServer.configs.kotlin.buildFeatures.commitStatusPublisher
import jetbrains.buildServer.configs.kotlin.buildFeatures.perfmon
import jetbrains.buildServer.configs.kotlin.buildFeatures.pullRequests
import jetbrains.buildServer.configs.kotlin.buildSteps.exec
import jetbrains.buildServer.configs.kotlin.buildSteps.gradle
import jetbrains.buildServer.configs.kotlin.project
import jetbrains.buildServer.configs.kotlin.projectFeatures.githubIssues
import jetbrains.buildServer.configs.kotlin.triggers.vcs
import jetbrains.buildServer.configs.kotlin.version

/*
The settings script is an entry point for defining a TeamCity
Expand All @@ -35,8 +33,6 @@ To debug in IntelliJ Idea, open the 'Maven Projects' tool window (View
'Debug' option is available in the context menu for the task.
*/

version = "2023.11"

project {

val test = Test()
Expand Down Expand Up @@ -71,6 +67,12 @@ fun BuildType.configureVcs() {
fun BuildType.configureTriggers() {
triggers {
vcs {
triggerRules = """
+:**.java
+:**.kt
+:**.kts
-:comment=^\\[ci skip\\].*
""".trimIndent()
branchFilter = "+:*"
}
}
Expand Down Expand Up @@ -152,6 +154,12 @@ class PluginJar : BuildType() {
configureVcs()
triggers {
vcs {
triggerRules = """
+:**.java
+:**.kt
+:**.kts
-:comment=^\\[ci skip\\].*
""".trimIndent()
branchFilter = "+:master"
}
}
Expand Down

0 comments on commit 5a55299

Please sign in to comment.