Description: Modifies an existing build by appending one or more new modules to it.
Security: Requires Deploy and Delete permissions for the specified build.
Usage: POST /artifactory/api/build/append/{buildName}/{buildNumber}
Path parameters:
Parameter | Type | Description |
---|---|---|
| string | The name of the parent build that will receive the module. |
| string | The number of the parent build that will receive the module. |
Query parameters (optional):
Parameter | Type | Description |
---|---|---|
| date/time | The start date & time of the parent build that will receive the module (ISO 8601 format). |
| string | The repository key of the parent build. |
| string | The project key of the parent build. |
Consumes: application/vnd.org.jfrog.build.BuildInfoModule+json, application/json
Sample Request Body:
[ { "properties": { "maven.compiler.target": "1.8", "maven.compiler.source": "1.8", "project.build.sourceEncoding": "UTF-8" }, "type": "maven", "id": "org.example:commons:1.0.0", "artifacts": [ { "type": "jar", "sha1": "e144ff29263e88b384dd5f1e6ac9915aa08dd674", "sha256": "2ac504eed18407b346d7dea3197a21232c1834cfe052c92e537ed8c6ea10202f", "md5": "5f0a2bd37343401bf73c0c7b690a7651", "name": "commons-1.0.0.jar", "originalDeploymentRepo": "commons-dev-maven-virtual", "path": "org/example/commons/1.0.0/commons-1.0.0.jar" } ], "dependencies": [ { "type": "jar", "sha1": "e155460aaf5b464062a09c3923f089ce99128a17", "sha256": "28968ae55fff465494083aeba856f8824c34902329882bf61e77246a91e25aa9", "md5": "238dcae7363dd86b2e515a2a29e8b4d9", "id": "org.apache.commons:commons-lang3:3.10", "scopes": [ "compile" ], "requestedBy": [ [ "org.example:commons:1.0.0" ] ] } ] } ]
Sample Response: (none)
Status Codes:
Code | Description |
---|---|
204 | Appended successfully |
400 | Bad Request |
401 | Bad Credentials |
403 | Permission Denied |
404 | Build-Info not found |