Resources Job Run Run Build
🤬
Run Build
Http Method
POST
End Point
/~api/job-runs
Request Body
Content Type
application/json
Example
{
"@type" : "JobRunOnCommit" ,
"projectId" : 1 ,
"commitHash" : "string" ,
"jobName" : "string" ,
"params" : {
"string" : [ "string" ]
}
,
"refName" : "string" ,
"reason" : "string"
}
Response
Operation Successful
Status Code
200
Response Body
Content Type
application/json
Example
1
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://crash.software/~api/job-runs
Please wait...
Page is in error, reload to recover