agent icon indicating copy to clipboard operation
agent copied to clipboard

annotate - buildkite-agent: Argument list too long

Open amirrudd opened this issue 3 years ago • 2 comments

Error happens when sending a long list (like 240 lines) of warnings to annotate via buildkite-agent annotate "${ANNOTATION}" --context "${CONTEXT}" --style $STYLE --append

amirrudd avatar Aug 13 '21 05:08 amirrudd

Hi @amirrudd could you post an example of the error you are receiving?

keithduncan avatar Aug 30 '21 00:08 keithduncan

Fixed the error by capping the number of error being send, So no access to error message any longer. If you feel its hard to reproduce, feel free to close the ticket as it can be fixed by limiting the lines passed to annotate

amirrudd avatar Aug 30 '21 09:08 amirrudd