-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TeamCity change in 'Storybook' project: triggers of 'Test Workflow' b…
…uild configuration were updated
- Loading branch information
Filipp.Riabchun
authored and
teamcity
committed
Apr 12, 2021
1 parent
4799e98
commit bc88785
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package patches.buildTypes | ||
|
||
import jetbrains.buildServer.configs.kotlin.v2019_2.* | ||
import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.VcsTrigger | ||
import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.vcs | ||
import jetbrains.buildServer.configs.kotlin.v2019_2.ui.* | ||
|
||
/* | ||
This patch script was generated by TeamCity on settings change in UI. | ||
To apply the patch, change the buildType with id = 'TestWorkflow' | ||
accordingly, and delete the patch script. | ||
*/ | ||
changeBuildType(RelativeId("TestWorkflow")) { | ||
triggers { | ||
val trigger1 = find<VcsTrigger> { | ||
vcs { | ||
quietPeriodMode = VcsTrigger.QuietPeriodMode.USE_DEFAULT | ||
triggerRules = "-:.teamcity/**" | ||
branchFilter = """ | ||
+:<default> | ||
+:next | ||
+:master | ||
+:pull/* | ||
""".trimIndent() | ||
} | ||
} | ||
trigger1.apply { | ||
quietPeriodMode = VcsTrigger.QuietPeriodMode.DO_NOT_USE | ||
} | ||
} | ||
} |