Class VectorCASTJobPipeline
- java.lang.Object
-
- com.vectorcast.plugins.vectorcastexecution.JobBase
-
- com.vectorcast.plugins.vectorcastexecution.VectorCASTJobPipeline
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,Describable<JobBase>
,ModelObject
@Extension public class VectorCASTJobPipeline extends JobBase
Create multiple jobs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VectorCASTJobPipeline.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description VectorCASTJobPipeline()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kohsuke.stapler.HttpResponse
doCreate(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
Create pipeline job.JobAlreadyExistsException
getException()
Get the job already exists exception.NewPipelineJob
getJob()
Get the pipeline job object.String
getProjectName()
Get the project name.ExternalResultsFileException
getResException()
Get the job already scm conflict exception.ScmConflictException
getScmException()
Get the job already scm conflict exception.String
getUrlName()
URL for creating pipeline job.-
Methods inherited from class com.vectorcast.plugins.vectorcastexecution.JobBase
all, getDescriptor, getDisplayName, getIconFileName, getTheScm, setTheScm
-
-
-
-
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 interfaceAction
- Overrides:
getUrlName
in classJobBase
- Returns:
- url
-
doCreate
public org.kohsuke.stapler.HttpResponse doCreate(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws javax.servlet.ServletException, IOException, Descriptor.FormException
Create pipeline job.- Parameters:
request
- request objextresponse
- response object- Returns:
- response
- Throws:
javax.servlet.ServletException
- exceptionIOException
- exceptionDescriptor.FormException
- exception
-
-