Skip to content

/usr/bin/jq: Argument list too long #187

@mahdirezaie336

Description

@mahdirezaie336

I ran the runSonarQube.sh file successfully. But at the end of the build process, it waits for a few minutes and then gives me this error:

...
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:47 min
[INFO] Finished at: 2022-12-02T19:41:51+03:30
[INFO] ------------------------------------------------------------------------



./scripts/runSonarQube.sh: line 60: /usr/bin/jq: Argument list too long

My OS is ubuntu 2022 and I use SonarQube verison 9.7.1.

I guess it reaches the maximum size of ARG_MAX in linux which is related to size of args buffer. It is mentioned here and here.
I couldn't fix it by myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions