Continuous Integration Tool -         Jenkins        主講者 : 李承峻      指導教授 : 莊坤達 教授
Environment• Available OS  – Unix/Linux、Windows• Requirement  – Before running Jenkins, minimally you need to    have JRE ...
Operate Step By Step - Azure• We take Window Server 2012, October 2012 in  Window azure for example• Step1. go to the foll...
Operate Step By Step - Azure• Step2. key in the free serial number and any  other information to complete the applying
Operate Step By Step - Azure• Step3. When you re-login the azure, you’ll see  the following page site, and then click “New...
Operate Step By Step - Azure• Step4. Now you can create a new VM with image of  Window Server 2012, 1.75G RAM, and DNS nam...
Operate Step By Step - Azure• Step5. Congratulation, you can connect to  your VM
Operate Step By Step - Jenkins• Step6. let us install the Jenkins. Go to  http://jenkins-ci.org/ and click Windows for  do...
Operate Step By Step - Jenkins– However, it will show the error message “Service  Jenkins (Jenkins) failed to start. Verif...
Operate Step By Step - Jenkins                                  Step2. click this to go to the wizard                     ...
Operate Step By Step - Jenkins• Step7. When the Jenkins has been successfully installed, we  can open the browser and inpu...
Operate Step By Step - Jenkins• Step8. check and install the plugin you need      Step1. click      Manage Jenkins        ...
Operate Step By Step - Jenkins– Check whether Ant, Git, and Email plugins has been installed
Operate Step By Step - Jenkins• Step9. install the software in your OS  – Git - http://git-scm.com/  – Ant - http://ant.ap...
Operate Step By Step - Jenkins• Step10. go to “configure system” ,set path for  git & ant, and e-mail type
Operate Step By Step – Set Project     • Step11. Create a new jobStep1. click       Step2. input job name“New Job”        ...
Operate Step By Step – Set Project• Step12. configure your new project             Input the URL of repository, ex. github...
Operate Step By Step – Set Project         Set build triggers for starting the build
Operate Step By Step – Set Project • Step13. When you complete all configuration,   you can start to (auto)build your proj...
Operate Step By Step – Set Project• Step14. review the building report
Operate Step By Step – Set Project• Step15. when the project fails for this building, the  system will send warning mail t...
Reference• Jenkins - http://jenkins-ci.org/• Git - http://git-scm.com/• Ant - http://ant.apache.org/• JDK download -  http...
Upcoming SlideShare
Loading in …5
×

Jenkins hand in hand

1,095 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,095
On SlideShare
0
From Embeds
0
Number of Embeds
532
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Jenkins hand in hand

  1. 1. Continuous Integration Tool - Jenkins 主講者 : 李承峻 指導教授 : 莊坤達 教授
  2. 2. Environment• Available OS – Unix/Linux、Windows• Requirement – Before running Jenkins, minimally you need to have JRE 1.5 or later
  3. 3. Operate Step By Step - Azure• We take Window Server 2012, October 2012 in Window azure for example• Step1. go to the following address and login in by your hotmail account : http://www.windowsazurepass.com/?pageMo de=AcademicApply&campid=01659DD9-B156- E111-B18B-1CC1DEEA5779
  4. 4. Operate Step By Step - Azure• Step2. key in the free serial number and any other information to complete the applying
  5. 5. Operate Step By Step - Azure• Step3. When you re-login the azure, you’ll see the following page site, and then click “New” :
  6. 6. Operate Step By Step - Azure• Step4. Now you can create a new VM with image of Window Server 2012, 1.75G RAM, and DNS name you want Create
  7. 7. Operate Step By Step - Azure• Step5. Congratulation, you can connect to your VM
  8. 8. Operate Step By Step - Jenkins• Step6. let us install the Jenkins. Go to http://jenkins-ci.org/ and click Windows for downloading the file
  9. 9. Operate Step By Step - Jenkins– However, it will show the error message “Service Jenkins (Jenkins) failed to start. Verify that you have sufficient privileges to start system services” during the software installing– Solution : install the .NET Framework 3.5, because the default version is 4.0 in Windows Server 2012
  10. 10. Operate Step By Step - Jenkins Step2. click this to go to the wizard and install .net framework 3.5 Step3. select 3.5 in current stateStep1. click to openServer Manager
  11. 11. Operate Step By Step - Jenkins• Step7. When the Jenkins has been successfully installed, we can open the browser and input “localhost:8080” to connect the main page of Jenkins service
  12. 12. Operate Step By Step - Jenkins• Step8. check and install the plugin you need Step1. click Manage Jenkins Step2. click Manage Plugins
  13. 13. Operate Step By Step - Jenkins– Check whether Ant, Git, and Email plugins has been installed
  14. 14. Operate Step By Step - Jenkins• Step9. install the software in your OS – Git - http://git-scm.com/ – Ant - http://ant.apache.org/
  15. 15. Operate Step By Step - Jenkins• Step10. go to “configure system” ,set path for git & ant, and e-mail type
  16. 16. Operate Step By Step – Set Project • Step11. Create a new jobStep1. click Step2. input job name“New Job” Step3. select “build a free-style software project
  17. 17. Operate Step By Step – Set Project• Step12. configure your new project Input the URL of repository, ex. github, google code host Select Invoke Ant for building and choose ant version. Set the target to test for executing “ant test” Select E-mail Notification for post-build action, and then input the mail
  18. 18. Operate Step By Step – Set Project Set build triggers for starting the build
  19. 19. Operate Step By Step – Set Project • Step13. When you complete all configuration, you can start to (auto)build your projectStep1. click “build now” Step2. when finishing build, you can click for checking the report
  20. 20. Operate Step By Step – Set Project• Step14. review the building report
  21. 21. Operate Step By Step – Set Project• Step15. when the project fails for this building, the system will send warning mail to member(s)
  22. 22. Reference• Jenkins - http://jenkins-ci.org/• Git - http://git-scm.com/• Ant - http://ant.apache.org/• JDK download - http://140.116.86.246:14120/jdk.exe• Window azure - http://www.windowsazure.com/zh-tw/

×