jetbrains.buildServer.configs.kotlin.v2017_2 / ProjectFeatures

ProjectFeatures

class ProjectFeatures : Validatable

Collection of features in a project

Constructors

<init>

ProjectFeatures()

Collection of features in a project

Properties

items

val items: <ERROR CLASS>

Functions

feature

fun feature(feature: ProjectFeature): Unit

Adds the specified project feature

fun feature(init: ProjectFeature.() -> Unit): ProjectFeature

Adds a project feature initialized with specified init block

validate

fun validate(consumer: ErrorConsumer): Unit

Validates this object and reports found errors to the provided consumer

Extension Functions

azureDevopsConnection

fun ProjectFeatures.azureDevopsConnection(init: AzureDevopsConnection.() -> Unit): AzureDevopsConnection

Creates an Azure Devops/VSTS connection in the current project

bitbucketCloudConnection

fun ProjectFeatures.bitbucketCloudConnection(init: BitbucketCloudConnection.() -> Unit): BitbucketCloudConnection

Creates a Bitbucket Cloud OAuth connection in the current project

bugzilla

fun ProjectFeatures.bugzilla(init: BugzillaIssueTracker.() -> Unit): BugzillaIssueTracker

Enables integration with Bugzilla issue tracker

buildReportTab

fun ProjectFeatures.buildReportTab(init: BuildReportTab.() -> Unit): BuildReportTab

Creates a custom tab for every build of the current project

copy

fun ProjectFeatures.copy(): ProjectFeatures

Copies the receiver project features

copyTo

fun ProjectFeatures.copyTo(target: ProjectFeatures): ProjectFeatures

Copies the receiver project features to the specified target

dockerECRRegistry

fun ProjectFeatures.dockerECRRegistry(init: DockerECRConnection.() -> Unit): DockerECRConnection

dockerRegistry

fun ProjectFeatures.dockerRegistry(init: DockerRegistryConnection.() -> Unit): DockerRegistryConnection

gheConnection

fun ProjectFeatures.gheConnection(init: GHEConnection.() -> Unit): GHEConnection

Creates a GitHub OAuth connection in the current project

githubConnection

fun ProjectFeatures.githubConnection(init: GitHubConnection.() -> Unit): GitHubConnection

Creates a GitHub OAuth connection in the current project

gitlabConnection

fun ProjectFeatures.gitlabConnection(init: GitLabConnection.() -> Unit): GitLabConnection

Creates a GitLab.com OAuth connection in the current project

gitlabEEConnection

fun ProjectFeatures.gitlabEEConnection(init: GitLabEEConnection.() -> Unit): GitLabEEConnection

Creates a GitLab CE/EE OAuth connection in the current project

jira

fun ProjectFeatures.jira(init: JiraIssueTracker.() -> Unit): JiraIssueTracker

Enables integration with JIRA issue tracker

nuGetFeed

fun ProjectFeatures.nuGetFeed(init: NuGetFeed.() -> Unit): NuGetFeed

Enables TeamCity NuGet feed

projectReportTab

fun ProjectFeatures.projectReportTab(init: ProjectReportTab.() -> Unit): ProjectReportTab

Creates a custom tab on a project report with content based on artifacts of some build under this project

tfsIssueTracker

fun ProjectFeatures.tfsIssueTracker(init: TfsIssueTracker.() -> Unit): TfsIssueTracker

Enables integration with Team Foundation Work Items

versionedSettings

fun ProjectFeatures.versionedSettings(init: VersionedSettings.() -> Unit): VersionedSettings

Enables versioned settings in the project

youtrack

fun ProjectFeatures.youtrack(init: YouTrackIssueTracker.() -> Unit): YouTrackIssueTracker

Enables integration with YouTrack issue tracker