Cenos Jenkins under construction
1. Upload the installation package jenkins-1.656-1.1.noarch.rpm
2. Install Jenkins
sudo rpm-ivh jenkins-1.656-1.1.noarch.rpm
3.VI /etc/sysconfig/jenkins
Modify Port jenkins_port= "8888"- Port Free
Modifying a running user jenkins_user= "Admin"
4.vi/etc/init.d/jenkins
Add Java path ~/software/jdk1.7.0_79/bin/java
Candidates= "
/etc/alternatives/java
/usr/lib/jvm/java-1.6.0/bin/java
/usr/lib/jvm/jre-1.6.0/bin/java
/usr/lib/jvm/java-1.7.0/bin/java
/usr/lib/jvm/jre-1.7.0/bin/java
/usr/lib/jvm/java-1.8.0/bin/java
/usr/lib/jvm/jre-1.8.0/bin/java
/usr/bin/java
/home/admin/software/jdk1.7.0_79/bin/java
5. Modify the Jenkins owner
sudo chown-r admin/usr/lib/jenkins
sudo chgrp-r admin/usr/lib/jenkins
sudo chown-r admin/var/log/jenkins
sudo chgrp-r admin/var/log/jenkins
sudo chown-r admin/var/lib/jenkins
sudo chgrp-r admin/var/lib/jenkins
sudo chown-r admin/var/cache/jenkins
sudo chgrp-r admin/var/cache/jenkins
6. Start Jenkins
sudo service Jenkins start
7. Visit Jenkins
http://ip:8888
8. The "Optional plugins " list appears empty when Jenkins is installed
http://www.techv5.com/topic/421/
Need to install software:
Grails
Jdk
Git
Tomcat
Python,nose
Need to install plugins:
Cobertura Plugin Code Coverage
Email Extension Plugin Email Notification
Grails plugin Compilation tool
JUnit Plugin Unit Test
Python Plugin Pyhton script
SSH Slaves Plugin telnet node server
Hudson SELENIUMHQ Plugin
TestNG Results Plugin
Job:
Execute in sequence and in order
Build Builds
test tests (unit, interface,UI)
Checkcode Code Check
Deploy Deployment
Trigger conditions:
Build Once the code has changed
Test as per actual needs
Code Check Once the code is changed
Deployment as needed
Jenkins CI Construction