Class BuildHelpersRequestBuilder


public class BuildHelpersRequestBuilder extends BuildBaseRequestBuilder
Helper request builder that combines multiple Apis to create logical helper methods for ease of use.
  • Constructor Details

    • BuildHelpersRequestBuilder

      public BuildHelpersRequestBuilder(String organizationUrl, AccessTokenCredential accessTokenCredential)
      Instantiates a new RequestBuilder instance and sets the default values.
      Parameters:
      organizationUrl - Represents organization location request url.
      accessTokenCredential - Access token credential object.
  • Method Details

    • cloneBuildDefinition

      public BuildDefinition cloneBuildDefinition(String definitionName, String definitionCloneName) throws AzDException
      Clone an existing definition/pipeline
      Parameters:
      definitionName - Name of the build definition/pipeline. E.g., WebApp-Deployment-CI
      definitionCloneName - Name of the pipeline/definition to be created or cloned. E.g., WebApp-Deployment-CI-Copy
      Returns:
      build definition BuildDefinition
      Throws:
      AzDException - Default Api Exception handler.