I am currently getting to use Sonarqube with my pipeline. I have successfully installed sonarqube and worked on an Amazon-linux server. I also installed JFrog on same server since they use different ports. Now both worked separately when connected to the their respective consoles. The problem is when I set them up in Jenkinsfile to build a pipeline, once it gets to the stage where sonarque scans for artifacts, it takes forever to scan.
Could it be that JFrog and Sonarque can’t be on same server?
There’s no specific limitation here, but you should make sure that your server has the proper resources to handle both applications – I would start by checking how your server is doing (memory, CPU, disk).
The good news so far is that Jenkins can make the connection (it identifies that the server is 9.4), but it just trips up on making further API calls.
That’s probably way to small to be running two applications. The requirements documentation outlines the absolute minimum.
Hardware Requirements
A small-scale (individual or small team) instance of the SonarQube server requires at least 2GB of RAM to run efficiently and 1GB of free RAM for the OS. If you are installing an instance for a large teams or Enterprise, please consider the additional recommendations below.