-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
465 changed files
with
9,029 additions
and
2,841 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
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
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
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
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,37 @@ | ||
package builds | ||
|
||
import addSlackNotifications | ||
import areTriggersEnabled | ||
import dependsOn | ||
import getProjectBranch | ||
import jetbrains.buildServer.configs.kotlin.v2019_2.BuildType | ||
import jetbrains.buildServer.configs.kotlin.v2019_2.FailureAction | ||
import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.schedule | ||
|
||
object DailyCi : BuildType({ | ||
id("Daily_CI") | ||
name = "Daily CI" | ||
description = "Runs everything in CI, daily" | ||
type = Type.COMPOSITE | ||
paused = !areTriggersEnabled() | ||
|
||
triggers { | ||
schedule { | ||
schedulingPolicy = cron { | ||
hours = "0" | ||
minutes = "0" | ||
} | ||
branchFilter = "refs/heads/${getProjectBranch()}" | ||
triggerBuild = always() | ||
withPendingChangesOnly = false | ||
} | ||
} | ||
|
||
dependsOn( | ||
FullCi | ||
) { | ||
onDependencyCancel = FailureAction.ADD_PROBLEM | ||
} | ||
|
||
addSlackNotifications() | ||
}) |
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,34 @@ | ||
package builds | ||
|
||
import addSlackNotifications | ||
import areTriggersEnabled | ||
import dependsOn | ||
import getProjectBranch | ||
import jetbrains.buildServer.configs.kotlin.v2019_2.BuildType | ||
import jetbrains.buildServer.configs.kotlin.v2019_2.FailureAction | ||
import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.vcs | ||
|
||
object OnMergeCi : BuildType({ | ||
id("OnMerge_CI") | ||
name = "On Merge CI" | ||
description = "Runs everything in CI, on each commit" | ||
type = Type.COMPOSITE | ||
paused = !areTriggersEnabled() | ||
|
||
maxRunningBuilds = 1 | ||
|
||
triggers { | ||
vcs { | ||
perCheckinTriggering = false | ||
branchFilter = "refs/heads/${getProjectBranch()}" | ||
} | ||
} | ||
|
||
dependsOn( | ||
FullCi | ||
) { | ||
onDependencyCancel = FailureAction.ADD_PROBLEM | ||
} | ||
|
||
addSlackNotifications() | ||
}) |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.