Can we install SonarQube and Jenkins on same machine(VM) ?

578 views
Skip to first unread message

Ramesh Udari

unread,
Oct 19, 2015, 7:03:07 AM10/19/15
to Jenkins Users
Hi,

We have SonarQube server which running on linux VM and we are planning to use Jenkins for CI integration purpose with SonarQube. So, here question is that, can we install both SonarQube and Jenkins on same Linux Server (VM) ?. If yes, do we have pros and cons with this approach?. Kindly do suggest on it.

Regards,
Ramesh

Richard Bywater

unread,
Oct 19, 2015, 2:00:40 PM10/19/15
to Jenkins Users

You can install as much as you want on the same machine but the main issue is going to be if you have enough memory and cpu to serve both apps properly.

Richard.


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0067c010-146a-42ce-83d6-0fb045b74484%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Prudhvi Raju

unread,
Sep 27, 2017, 4:38:59 AM9/27/17
to Jenkins Users
Hi,

I have the same scenario but I want to have both Jenkins and Sonarqube in a single Windows server. Is that possible too?

Devin Nusbaum

unread,
Sep 27, 2017, 9:52:51 AM9/27/17
to jenkins...@googlegroups.com
Hi Prudhvi,

I ran both Jenkins and Sonarqube on the same Windows server in the past successfully, but I agree with Richard that you need to make sure you have enough resources to run both of them well.

Thanks,

Devin

Joe Cavanaugh

unread,
Oct 2, 2017, 9:48:15 AM10/2/17
to Jenkins Users
Agree with Devin above, and would highly suggest against setting up the Master Jenkins server and Sonarqube together - I ran into scaling problems rather quickly (like within 6 months as people got wind of the Jenkins and Sonar servers). Migrating Jenkins is pretty easy though, so for the purposes of utilizing all the CPU available to you, it is not a bad choice, just be prepared to understand how to move one of them somewhere else. 

Arnaud Héritier

unread,
Oct 2, 2017, 9:55:17 AM10/2/17
to jenkins...@googlegroups.com
Your problem will be probably less the CPU/memory consumption than IOs consumption especially if you host your SonarQube database locally
We generally advise to not host anything else than the Jenkins master on an host in production. 
Otherwise it is a nightmare to manage properly the resource allocation

Cheers

To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2413a27d-f986-4dd1-a167-da8651d19125%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
-----
Arnaud Héritier
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier
Reply all
Reply to author
Forward
0 new messages