mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-22 07:51:39 -04:00
TeamCity change in 'JetBrains Public Projects / Packer Builder for vSphere' project: triggers of 'Build' build configuration were updated
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
package patches.buildTypes
|
||||
|
||||
import jetbrains.buildServer.configs.kotlin.v2018_2.*
|
||||
import jetbrains.buildServer.configs.kotlin.v2018_2.triggers.VcsTrigger
|
||||
import jetbrains.buildServer.configs.kotlin.v2018_2.triggers.vcs
|
||||
import jetbrains.buildServer.configs.kotlin.v2018_2.ui.*
|
||||
|
||||
/*
|
||||
This patch script was generated by TeamCity on settings change in UI.
|
||||
To apply the patch, change the buildType with id = 'Build'
|
||||
accordingly, and delete the patch script.
|
||||
*/
|
||||
changeBuildType(RelativeId("Build")) {
|
||||
triggers {
|
||||
val trigger1 = find<VcsTrigger> {
|
||||
vcs {
|
||||
triggerRules = "-:*.md"
|
||||
branchFilter = """
|
||||
+:*
|
||||
-:temp-*
|
||||
-:pull/*
|
||||
""".trimIndent()
|
||||
}
|
||||
}
|
||||
trigger1.apply {
|
||||
triggerRules = """
|
||||
-:*.md
|
||||
-.teamcity/
|
||||
""".trimIndent()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user