Class CreateTektonPipelineOptions

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class CreateTektonPipelineOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The createTektonPipeline options.
    • Method Detail

      • id

        public java.lang.String id()
        Gets the id. The ID for the associated pipeline tool, which was already created in the target toolchain. To get the pipeline ID call the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools and find the pipeline tool.
        Returns:
        the id
      • nextBuildNumber

        public java.lang.Long nextBuildNumber()
        Gets the nextBuildNumber. Specify the build number that will be used for the next pipeline run. Build numbers can be any positive whole number between 0 and 100000000000000.
        Returns:
        the nextBuildNumber
      • enableNotifications

        public java.lang.Boolean enableNotifications()
        Gets the enableNotifications. Flag to enable notifications for this pipeline. If enabled, the Tekton pipeline run events will be published to all the destinations specified by the Slack and Event Notifications integrations in the parent toolchain.
        Returns:
        the enableNotifications
      • enablePartialCloning

        public java.lang.Boolean enablePartialCloning()
        Gets the enablePartialCloning. Flag to enable partial cloning for this pipeline. When partial clone is enabled, only the files contained within the paths specified in definition repositories are read and cloned, this means that symbolic links might not work.
        Returns:
        the enablePartialCloning
      • worker

        public WorkerIdentity worker()
        Gets the worker. Specify the worker that is to be used to run the trigger, indicated by a worker object with only the worker ID. If not specified or set as `worker: { id: 'public' }`, the IBM Managed shared workers are used.
        Returns:
        the worker