SonarQube for OpenShift
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.openshift/action_hooks
LICENSE
README.md

README.md

SonarQube on OpenShift

SonarQube is a popular code profiler and dashboard that excels when used along a Continuous Integration engine.

More information can be found at http://www.sonarqube.org

Running on OpenShift

Create an account at http://openshift.redhat.com/

Create a DIY application. If you may add a PostgreSQL cartridge.

rhc app create sonar diy-0.1 postgresql-9.2

Add this upstream SonarQube quickstart repo

git rm -r diy .openshift misc README.md
git remote add upstream -m master https://github.com/worldline/openshift-sonarqube.git
git pull -s recursive -X theirs upstream master

Push the repo upstream to OpenShift

git push

Head to your application at:

http://sonar-$yourdomain.rhcloud.com

Default Credentials

Default Admin Usernameadmin
Default Admin Passwordadmin

To give your new SonarQube site a web address of its own, add your desired alias:

rhc app add-alias -a sonar --alias "$whatever.$mydomain.com"

Then add a cname entry in your domain's dns configuration pointing your alias to $whatever-$yourdomain.rhcloud.com.