Package io.jenkins.blueocean.rest.model
Class BluePipelineScm
- java.lang.Object
-
- io.jenkins.blueocean.rest.model.Resource
-
- io.jenkins.blueocean.rest.model.BluePipelineScm
-
-
Constructor Summary
Constructors Constructor Description BluePipelineScm()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Object
getContent(org.kohsuke.stapler.StaplerRequest request)
Gives content in scm attached to a pipeline.abstract Object
saveContent(org.kohsuke.stapler.StaplerRequest request)
Save a file to this SCM repository attached to this pipeline.
-
-
-
Method Detail
-
getContent
@WebMethod(name="content") @GET public abstract Object getContent(org.kohsuke.stapler.StaplerRequest request)
Gives content in scm attached to a pipeline.- Parameters:
request
- load scm request- Returns:
- scm file content
-
saveContent
@PUT @WebMethod(name="content") public abstract Object saveContent(org.kohsuke.stapler.StaplerRequest request)
Save a file to this SCM repository attached to this pipeline. Creates a new one if it doesn't exist.- Parameters:
request
- save content to scm request- Returns:
- response specific to SCM specific file save response
-
-