Class VectorCASTJobPipeline

  • All Implemented Interfaces:
    hudson.ExtensionPoint, hudson.model.Action, hudson.model.Describable<JobBase>, hudson.model.ModelObject

    @Extension
    public class VectorCASTJobPipeline
    extends JobBase
    Create multiple jobs
    • Constructor Detail

      • VectorCASTJobPipeline

        public VectorCASTJobPipeline()
    • Method Detail

      • getJob

        public NewPipelineJob getJob()
        Get the pipeline job object
        Returns:
        pipeline job
      • getProjectName

        public String getProjectName()
        Get the project name
        Returns:
        project name
      • getException

        public JobAlreadyExistsException getException()
        Get the job already exists exception
        Returns:
        job already exists exception
      • getScmException

        public ScmConflictException getScmException()
        Get the job already scm conflict exception
        Returns:
        job already scm conflict exception
      • getResException

        public ExternalResultsFileException getResException()
        Get the job already scm conflict exception
        Returns:
        job already scm conflict exception
      • getUrlName

        public String getUrlName()
        URL for creating pipeline job
        Specified by:
        getUrlName in interface hudson.model.Action
        Overrides:
        getUrlName in class JobBase
        Returns:
        url
      • doCreate

        public org.kohsuke.stapler.HttpResponse doCreate​(org.kohsuke.stapler.StaplerRequest request,
                                                         org.kohsuke.stapler.StaplerResponse response)
                                                  throws javax.servlet.ServletException,
                                                         IOException,
                                                         hudson.model.Descriptor.FormException
        Create pipeline job
        Parameters:
        request - request objext
        response - response object
        Returns:
        response
        Throws:
        javax.servlet.ServletException - exception
        IOException - exception
        hudson.model.Descriptor.FormException - exception