ProjectFeatures

class ProjectFeatures : Validatable

Collection of features in a project

Constructors

Link copied to clipboard
fun ProjectFeatures()

Functions

Link copied to clipboard
fun feature(feature: ProjectFeature)

Adds the specified project feature

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

Adds a project feature initialized with specified init block

Link copied to clipboard
open override fun validate(consumer: ErrorConsumer)

Validates this object and reports found errors to the provided consumer

Properties

Link copied to clipboard
val items: <ERROR CLASS>

Extensions

Link copied to clipboard
fun ProjectFeatures.activeStorage(init: ActiveStorage.() -> Unit): ActiveStorage

Adds an Active Storage project feature

Link copied to clipboard
fun ProjectFeatures.amazonEC2CloudImage(init: AmazonEC2CloudImage.() -> Unit = {})

Definition of a cloud image for a cloud profile agent cloud profile for AWS EC2 in a project.

Link copied to clipboard
fun ProjectFeatures.amazonEC2CloudProfile(init: AmazonEC2CloudProfile.() -> Unit = {})

Definition of an agent cloud profile for AWS EC2 in a project.

Link copied to clipboard
fun ProjectFeatures.awsConnection(init: AwsConnection.() -> Unit): AwsConnection

Example. Adds a new Connection that allows TeamCity to store and manage AWS Credentials (IAM User Access Key). When using Session Credentials, a new temporary Access Key will be generated each time this connection is used.

Link copied to clipboard

Creates an Azure Devops/VSTS connection in the current project

Link copied to clipboard

Creates an Azure DevOps OAuth connection in the current project

Link copied to clipboard

Creates a Bitbucket Cloud OAuth connection in the current project

Link copied to clipboard

Adds a project features enabling integration with Bitbucket issue tracker

Link copied to clipboard

Creates a Bitbucket Server / Data Center OAuth connection in the current project

Link copied to clipboard
fun ProjectFeatures.bugzilla(init: BugzillaIssueTracker.() -> Unit): BugzillaIssueTracker

Enables integration with Bugzilla issue tracker

Link copied to clipboard
fun ProjectFeatures.buildReportTab(init: BuildReportTab.() -> Unit): BuildReportTab

Creates a custom tab for every build of the current project

Link copied to clipboard
fun ProjectFeatures.buildTypeChartsOrder(init: ChartsOrder.() -> Unit = {})

Adds a project feature for specifying build-configuration-level Charts order.

Link copied to clipboard
fun ProjectFeatures.buildTypeCustomChart(init: CustomChart.() -> Unit = {})

Adds a build-configuration-level Custom Chart

Link copied to clipboard
fun ProjectFeatures.cloudIntegration(init: CloudIntegration.() -> Unit): CloudIntegration

Adds a Cloud Integration project feature

Link copied to clipboard
fun ProjectFeatures.copy(): ProjectFeatures

Copies the receiver project features

Link copied to clipboard
fun ProjectFeatures.copyTo(target: ProjectFeatures): ProjectFeatures

Copies the receiver project features to the specified target

Link copied to clipboard

Example. Configure a private Amazon ECR connection. The connection is authenticated with AMAZON_KEY_ID and the secret access key, stored outside of VCS in the TeamCity credentials storage.

Link copied to clipboard

Example. Configure a connection to https://docker.io with the given username and password.

Link copied to clipboard
fun ProjectFeatures.gheConnection(init: GHEConnection.() -> Unit): GHEConnection

Creates a GitHub Enterprise OAuth connection in the current project

Link copied to clipboard

Creates a GitHub App single level connection in the current project

Link copied to clipboard
fun ProjectFeatures.githubConnection(init: GitHubConnection.() -> Unit): GitHubConnection

Creates a GitHub.com OAuth connection in the current project

Link copied to clipboard
fun ProjectFeatures.githubIssues(init: GitHubIssueTracker.() -> Unit): GitHubIssueTracker

Adds a project features enabling integration with GitHub issue tracker

Link copied to clipboard
fun ProjectFeatures.gitlabConnection(init: GitLabConnection.() -> Unit): GitLabConnection

Creates a GitLab.com OAuth connection in the current project

Link copied to clipboard
fun ProjectFeatures.gitlabEEConnection(init: GitLabEEConnection.() -> Unit): GitLabEEConnection

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

Link copied to clipboard
fun ProjectFeatures.gitlabIssues(init: GitLabIssueTracker.() -> Unit): GitLabIssueTracker

Adds a project features enabling integration with GitLab issue tracker

Link copied to clipboard
fun ProjectFeatures.googleConnection(init: GoogleConnection.() -> Unit): GoogleConnection

Creates a Google OAuth connection in the current project

Link copied to clipboard
fun ProjectFeatures.jira(init: JiraIssueTracker.() -> Unit): JiraIssueTracker

Enables integration with JIRA issue tracker

Link copied to clipboard
fun ProjectFeatures.kubernetesCloudImage(init: KubernetesCloudImage.() -> Unit = {})

Definition of a cloud image for a cloud profile agent cloud profile for Kubernetes in a project.

Link copied to clipboard
fun ProjectFeatures.kubernetesCloudProfile(init: KubernetesCloudProfile.() -> Unit = {})

Definition of an agent cloud profile for Kubernetes in a project.

Link copied to clipboard
fun ProjectFeatures.npmRegistry(init: NpmRegistryConnection.() -> Unit): NpmRegistryConnection

Example. Adds an npm registry connection project feature. Please note that corresponding build feature should be provided in build configuration to use this connection. This connection will be used only inside nodeJS build steps.

Link copied to clipboard
fun ProjectFeatures.nuGetFeed(init: NuGetFeed.() -> Unit): NuGetFeed
Link copied to clipboard

Example. Configure a Perforce admin connection to perforce:1666 with the given username and password (or ticket).

Link copied to clipboard
fun ProjectFeatures.projectChartsOrder(init: ChartsOrder.() -> Unit = {})

Adds a project feature for specifying project-level Charts order.

Link copied to clipboard
fun ProjectFeatures.projectCustomChart(init: CustomChart.() -> Unit = {})

Adds a project-level Custom Chart

Link copied to clipboard
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

Link copied to clipboard

Adds a S3 Compatible Artifact Storage project feature

Link copied to clipboard
fun ProjectFeatures.s3Storage(init: S3Storage.() -> Unit): S3Storage

Adds a Amazon S3 Artifact Storage project feature

Link copied to clipboard
fun ProjectFeatures.sharedResource(init: SharedResource.() -> Unit)

Adds a Shared Resource project feature which allows limiting concurrently running builds using a shared resource. Note that a shared should be defined in project settings and then enabled in reguired build configurations.

Link copied to clipboard
fun ProjectFeatures.slackConnection(init: SlackConnection.() -> Unit): SlackConnection

Creates a Slack connection in the current project

Link copied to clipboard

Creates a JetBrains Space OAuth connection in the current project

Link copied to clipboard
fun ProjectFeatures.tfsIssueTracker(init: TfsIssueTracker.() -> Unit): TfsIssueTracker

Enables integration with Azure Board Work Items

Link copied to clipboard
fun ProjectFeatures.versionedSettings(init: VersionedSettings.() -> Unit): VersionedSettings

Enables versioned settings in the project

Link copied to clipboard
fun ProjectFeatures.vmwareVSphereCloudImage(init: VMwareVSphereCloudImage.() -> Unit = {})

Definition of a cloud image for a cloud profile agent cloud profile for VMware vSphere and vCenter in a project.

Link copied to clipboard
fun ProjectFeatures.vmwareVSphereCloudProfile(init: VMwareVSphereCloudProfile.() -> Unit = {})
Link copied to clipboard
fun ProjectFeatures.youtrack(init: YouTrackIssueTracker.() -> Unit): YouTrackIssueTracker

Enables integration with YouTrack issue tracker