PUT /builds/:id
Modify a build
Request header
| Name |
Type |
Mandatory fields |
Description |
| Token |
String |
Yes |
Authentication credentials Token |
Request response
| Name |
Type |
Mandatory fields |
Description |
| id |
int |
Yes |
build ID |
| project |
int |
Yes |
affiliated project |
| product |
int |
Yes |
affiliated product |
| branch |
int |
Yes |
affiliated branch |
| execution |
int |
Yes |
affiliated execution |
| name |
string |
Yes |
build name |
| scmPath |
string |
No |
source code address |
| filePath |
string |
No |
download address |
| desc |
string |
Yes |
build description |
| builder |
user |
Yes |
builder |
| date |
date |
Yes |
licensing date |
Response example
{
"id": 3,
"project": 41,
"product": 4,
"branch": 0,
"execution": 42,
"name": "test",
"scmPath": "",
"filePath": "",
"date": "2021-01-01",
"stories": "",
"bugs": "",
"builder": "admin",
"desc": "",
"deleted": "0",
"executionName": "testt",
"productName": "multiple branch product",
"productType": "branch",
"files": []
}