Class PipelineBuilder

  • All Implemented Interfaces:
    dev.otbe.gitlab.ci.dsl.Builder , dev.otbe.gitlab.ci.dsl.jobs.JobsAware , dev.otbe.gitlab.ci.dsl.workflow.WorkflowAware

    
    public class PipelineBuilder
     implements Builder<Pipeline>, WorkflowAware, JobsAware
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit include(Include include) Configures the include section of the pipeline.
      final Unit stages(Stage stage) Configures the stages section of the pipeline.
      Pipeline build()
      • Methods inherited from class dev.otbe.gitlab.ci.dsl.workflow.WorkflowAware

        workflow, workflow, workflow
      • Methods inherited from class dev.otbe.gitlab.ci.dsl.jobs.JobsAware

        job, job
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • include

         final Unit include(Include include)

        Configures the include section of the pipeline.

      • stages

         final Unit stages(Stage stage)

        Configures the stages section of the pipeline. Usually you don't need to use this method because the stages are deduced from the jobs.