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

Does it need java to run? #13

Open
gaurav517 opened this issue May 2, 2018 · 2 comments
Open

Does it need java to run? #13

gaurav517 opened this issue May 2, 2018 · 2 comments

Comments

@gaurav517
Copy link

Hello,

Does it need JRE to run the analysis? I have pure javascript project and I don't want to install Java just for this purpose. What are options?

Thanks,
Kumar

@brunobastosg
Copy link

Yes, it does. I tested it locally and it worked, but I had Java installed. Once I tried to run it in a Node docker image, it didn't work. I had to use a Node + Java docker image.

@kirill-konshin
Copy link

This just blows my mind...

It reveals that simple uploader does too many things. It also requires typescript locally if you want to deal with TS files. According to docs https://docs.sonarqube.org/latest/analysis/languages/typescript/ you must npm install typescript so you must have Node and must have Java. Which makes it impossible to do nice clean things like build & test & gather coverage using Node image and upload using Java image.

And yes, the only solution is to create a Node+Java Docker.

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

3 participants