mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
TeamCity change in 'JetBrains Public Projects / Packer Builder for vSphere' project: build features of 'Build' build configuration were updated
This commit is contained in:
parent
0fcaa7bf36
commit
c13a7cc23f
1 changed files with 21 additions and 0 deletions
21
.teamcity/patches/buildTypes/Build.kts
vendored
21
.teamcity/patches/buildTypes/Build.kts
vendored
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue