Open adamtenna opened 10 months ago
Could there be a size limit imposed by the REST API when uploading via PUT /artifactory/api/build
? After adding the extra flavor, my build-info.json file goes from 66KB -> 83KB.
I can reproduce the issue with a curl command for just the upload portion. So this ticket is probably better suited for the REST API team - however I can't find their repo.
Here's an example:
curl -u user:password -X PUT "https://company.jfrog.io/artifactory/api/build" -H "Content-Type: application/json" --upload-file build-info.json
The above command works for the attached working.json and fails for the attached broken.json. The only meaningful difference is the length of scopes
for the broken.json. This probably means the REST endpoint is imposing some undocumented limits on the scopes
array or some undocumented limit on the file-size itself.
Describe the bug
To Reproduce This error happens when adding a 2nd flavor on my 2nd flavor dimension. E.g. this works:
But this does not (added
spi
flavor as the only change):Expected behavior Build success with no errors as happens without the
spi
flavor presnt.Screenshots N/A
Versions
com.jfrog.artifactory
in myplugins
section)Additional context N/A