Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scanner fails with "unknown shorthand flag: 'X' in -Xmx5120m" #39

Open
cd-dev-ge opened this issue Dec 17, 2024 · 0 comments
Open

Scanner fails with "unknown shorthand flag: 'X' in -Xmx5120m" #39

cd-dev-ge opened this issue Dec 17, 2024 · 0 comments

Comments

@cd-dev-ge
Copy link
Contributor

Running the action leads to the following error:

unknown shorthand flag: 'X' in -Xmx5120m

This seems to be a JDK flag. Here is the relevant part. See the attachment for the full log:

- name: Run GitHub Action for ORT
  uses: oss-review-toolkit/ort-ci-github-action@0650a3c52c02ad7366b8e25aeedf752d5601c417
  with:
    allow-dynamic-versions: 'true'
    ort-cli-args: '-P ort.analyzer.enabledPackageManagers=Nuget'
    run: >
      analyzer,
      scanner,
      evaluator,
      reporter,
      upload-results
<truncated>
2024-12-17T08:21:19.8104498Z Running ORT Scanner... 
2024-12-17T08:21:19.8190160Z Agent pid 2687
2024-12-17T08:21:19.9852173Z unknown shorthand flag: 'X' in -Xmx5120m
2024-12-17T08:21:19.9853018Z See 'docker run --help'.
2024-12-17T08:21:19.9879571Z ##[error]Process completed with exit code 125.
<truncated>

Analyzer runs fine, though.

0_foss-scan _ ort.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant