CIService Class

Provides information and utility methods for a CI Server, such as Jenkins or TeamCity

Inheritance Hierarchy

Syntax

public class CIService

Properties

Name Description
ApiUrlDisplayName

Gets the service-specific name for API Url, such as "Root server"

BuildStatusSuccessValue

Gets the service-specific name to identify a successful CIBuildInfo.Status value, such as "SUCCESS" or "successful"

CredentialType

Gets the CIServiceCredentials type that is used by the service.

ImportArtifactsOperationType

Gets the Inedo.Extensibility.Operations.IImportCIArtifactsOperation type that is used by the service.

PasswordDisplayName

Gets the service-specific name for passwords, such as "API Token"

ProjectDisplayName

Gets the service-specific name for projects, which is usually just "Project"

ProjectType

Gets the CIProject type that is used by the service.

ScopeDisplayName

Gets the service-specific name for scopes, such as "Branch" (Jenkins) or "Build configuration" (Teamcity)

ServiceName

Gets the name of the service, like Jenkins, TeamCity, CircleCI

UsernameDisplayName

Gets the service-specific name for usernames, such as "Username".

VariablesDisplayName

Gets the service-specific name for projects, such as "Parameters

Methods

Name Description
GetProjectsAsync(CIServiceCredentials credentials, System.Threading.CancellationToken cancellationToken)
GetStatusInfoBlockType(string statusString)