Skip to content

schnatterer/openshift-sonarqube

master
Switch branches/tags
Code
This branch is 11 commits ahead of worldline:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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 SonarQube 5.4 on OpenShift

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

For a detailed step by step introduction on how to set up SonarQube (for a former version - but the concepts are the same) and Jenkins with Github projects see also here.

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/schnatterer/openshift-sonarqube
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.

About

SonarQube for OpenShift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%