Difference between revisions of "Jenkins configuration"
(Created page with "Category:Development Category:Linux =Configuration= To access Jenkins configuration click on "Manage Jenkins" from the homepage File:Jenkins manage.png|350px|no...") |
(→Plugins) |
||
Line 30: | Line 30: | ||
Code quality | Code quality | ||
− | * | + | * SonarQube plugin |
− | |||
Line 40: | Line 39: | ||
− | Don't forget to restart Jenkins after installations ! | + | Don't forget to restart Jenkins after installations ! |
− | |||
==Security configuration== | ==Security configuration== |
Revision as of 13:04, 13 September 2015
Contents
Configuration
To access Jenkins configuration click on "Manage Jenkins" from the homepage
Plugins
First of all, update all the default plugins and then install new ones. Recommended list of plugins:
Mandatory
- Next build number plugin
Monitoring
- Build monitor plugin
- Disk usage plugin
- Status monitor plugin
Code quality
- SonarQube plugin
Build control
- Naginator plugin >> to reschedule a failed build
- Build-timeout plugin
Don't forget to restart Jenkins after installations !
Security configuration
You can use Safe HTML to make your job description a bit nicer. :-)
System configuration
Go to "Configure System"
Main settings
- # of executors: 2
- Quiet period: 60
JDK
- ORACLE JDK 7 ; /usr/lib/jvm/java-7-oracle
- ORACLE JDK 8 ; /usr/lib/jvm/java-8-oracle
MAVEN
- Point to your own installation (not the bundled one)
URL
- URL must match the service configuration !!
Like: http://vc076:8080/jenkins-guillaume
Disk usage
Let the default option, just tick both checkboxes:
- Show disk usage trend graph on the project page
- Show free space of jobs directory in global graph
Subversion
You can set version 1.7 if your repository supports it
Sonar
- Server URL: http://localhost:9000
- Sonar account login: jenkins
- Sonar account password: jenkins
- Database URL: jdbc:mysql://localhost:3306/sonar?autoReconnect=true&useUnicode=true&characterEncoding=utf8
- Database login: sonar
- Database password: sonar
- Database driver: com.mysql.jdbc.driver
- Additional properties: -Dsonar.login=jenkins -Dsonar.password=jenkins
Installation screenshot: