TeamCity change in 'JetBrains Public Projects / Packer Builder for vSphere' project: build features of 'Build' build configuration were updated

This commit is contained in:
mkuzmin 2018-12-22 18:25:22 +00:00 committed by root
parent 0fcaa7bf36
commit c13a7cc23f
1 changed files with 21 additions and 0 deletions

View File

@ -2,7 +2,9 @@ package patches.buildTypes
import jetbrains.buildServer.configs.kotlin.v2018_2.*
import jetbrains.buildServer.configs.kotlin.v2018_2.buildFeatures.CommitStatusPublisher
import jetbrains.buildServer.configs.kotlin.v2018_2.buildFeatures.PullRequests
import jetbrains.buildServer.configs.kotlin.v2018_2.buildFeatures.commitStatusPublisher
import jetbrains.buildServer.configs.kotlin.v2018_2.buildFeatures.pullRequests
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.*
@ -52,5 +54,24 @@ changeBuildType(RelativeId("Build")) {
}
}
}
val feature2 = find<PullRequests> {
pullRequests {
provider = github {
authType = token {
token = "credentialsJSON:39727f26-62ed-4152-ab9a-f6845076a979"
}
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
}
}
}
feature2.apply {
provider = github {
authType = token {
token = "credentialsJSON:5ead3bb1-c370-4589-beb8-24f8d02c36bc"
}
filterTargetBranch = ""
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
}
}
}
}