Set Job Executors
- Http Method
- POST
- End Point
-
/~api/settings/job-executors
- Request Body
-
- Content Type
- application/json
- Example
-
[
{
"nodeSelector" : [ {"labelName" : "string" ,"labelValue" : "string""clusterRole" : "string" ,"registryLogins" : [ {"registryUrl" : "string" ,"userName" : "string" ,"password" : "string""buildWithPV" : true ,"storageClass" : "string" ,"storageSize" : "string" ,"serviceLocators" : [ {"serviceNames" : "string" ,"serviceImages" : "string" ,"nodeSelector" : [ {"labelName" : "string" ,"labelValue" : "string""configFile" : "string" ,"kubeCtlPath" : "string" ,"cpuRequest" : "string" ,"memoryRequest" : "string" ,"cpuLimit" : "string" ,"memoryLimit" : "string" ,"alwaysPullImage" : true ,"imageMappings" : [ {"from" : "string" ,"to" : "string""enabled" : true ,"name" : "string" ,"jobRequirement" : "string" ,"htmlReportPublishEnabled" : true ,"sitePublishEnabled" : true
- Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
- No response body
- Operation Failed
-
- Status code
- Status code other than 200 indicating the error type
- Response Body
- Error detail of content type "text/plain"
- cURL Example
-
$ curl -u <login name>:<password or access token> -X POST [email protected] -H "Content-Type: application/json" https://git.codedune.app/~api/settings/job-executors