InedoSDK Reference
Version:

SDK Class

Defines the global API for SDK consumers.

Inheritance Hierarchy

  • object
    • Inedo.SDK

Syntax

public class SDK

Properties

Name Description
BaseUrl

Gets the application's base URL.

ProductName

Gets the application's name.

ProductVersion

Gets the application's version.

Methods

Name Description
CreateArtifactAsync(int applicationId, string releaseNumber, string buildNumber, int? deployableId, int? executionId, string artifactName, System.IO.Stream artifactData, bool overwrite)

Creates or overwrites an artifact in BuildMaster.

GetCommonTempPath

Returns the path of a directory which can be used to store files accessible to the installed product.

GetConfigValue(string configKey)

Returns the value of the global configuration item with the specified key, or null (Nothing in Visual Basic) if the key was not found.

GetCredentials

Returns information about all of the resource credentials defined in the application.

GetEnvironments

Returns information about all of the environments defined in the application.

GetProjects

Returns information about all of the projects defined in the application.

GetServerRoles

Returns information about all of the server roles defined in the application.

GetServers(bool includeInactive)

Returns information about all of the servers defined in the application.

GetServersInEnvironment(int environmentId)

Returns information about all of the servers which belong to the specified environment.

GetServersInRole(int roleId)

Returns information about all of the servers which belong to the specified server role.