Skip to content

schnatterer/openshift-sonarqube

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

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%