Resources Artifact Upload Artifact
Upload Artifact
Upload artifact to specified path
Http Method
POST
End Point
/~api/artifacts/{buildId}/{artifactPath:(.*)}
Placeholder Description Example
{buildId} Build Id 1
{artifactPath} Artifact Path path/to/file
Request Body
Content Type
application/octet-stream
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 --data-binary "@upload-file" -H "Content-Type: application/octet-stream" https://git.codedune.app/~api/artifacts/1/path/to/file
Please wait...
Page is in error, reload to recover