SlideShare a Scribd company logo
Continuous Integration Tool -
         Jenkins

        主講者 : 李承峻
      指導教授 : 莊坤達 教授
Environment
• Available OS
  – Unix/Linux、Windows
• Requirement
  – Before running Jenkins, minimally you need to
    have JRE 1.5 or later
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
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 name
  you want




                                                     Create
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
  downloading the file
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
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 state




Step1. click to open
Server Manager
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
Operate Step By Step - Jenkins
• Step8. check and install the plugin you need
      Step1. click
      Manage Jenkins




                                 Step2. click
                                 Manage Plugins
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.apache.org/
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 job
Step1. click       Step2. input job name
“New Job”


                              Step3. select “build a free-style software project
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
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 project



Step1. click “build now”


 Step2. when finishing
 build, you can click for
 checking the report
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 to member(s)
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/

More Related Content

PDF
Troubleshooting EC2- Linux Server Configuration
PPTX
Jenkins tutorial for beginners
PPTX
PDF
Using CI for continuous delivery Part 1
PPT
e107 to WordPress Migration Plugin: How It Works
PPTX
How To Install Sonar Qube Plugin In Anypoint Studio
PPTX
Jenkins CI
PPTX
Integration Testing as Validation and Monitoring
Troubleshooting EC2- Linux Server Configuration
Jenkins tutorial for beginners
Using CI for continuous delivery Part 1
e107 to WordPress Migration Plugin: How It Works
How To Install Sonar Qube Plugin In Anypoint Studio
Jenkins CI
Integration Testing as Validation and Monitoring

What's hot (19)

PPT
Subversive install on Eclipse
PPT
Continuous integration
PDF
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
PPTX
Introduction to jenkins for the net developer
PPTX
Integration with dropbox
PPTX
Speed = $$$
PPTX
Jenkins introduction
DOCX
What is jenkins
PPTX
Web deploy
PDF
Selenium and Sauce Labs
PPTX
Integrate to retrieve data microsoft azure
PPTX
Deploy with maven
PDF
Deploying and Scaling Your First Cloud Application with Amazon Lightsail
PDF
Dev ops: Continuous delivery and Windows Azure
PPT
Advanced Visual Studio 2005 Tools For Office Programming And Deployment
PPTX
Go Mac or Go Home
PDF
Bamboo Continuous Integration Server - Brief
PDF
Jenkins tutorial
PDF
How to setup jenkins
Subversive install on Eclipse
Continuous integration
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
Introduction to jenkins for the net developer
Integration with dropbox
Speed = $$$
Jenkins introduction
What is jenkins
Web deploy
Selenium and Sauce Labs
Integrate to retrieve data microsoft azure
Deploy with maven
Deploying and Scaling Your First Cloud Application with Amazon Lightsail
Dev ops: Continuous delivery and Windows Azure
Advanced Visual Studio 2005 Tools For Office Programming And Deployment
Go Mac or Go Home
Bamboo Continuous Integration Server - Brief
Jenkins tutorial
How to setup jenkins
Ad

Similar to Jenkins hand in hand (20)

PPTX
Servlet Demo (2).pptx
PPTX
Jenkins.pptx
PPTX
Selenium Training in Chennai
PPTX
Maven TestNg frame work (1) (1)
PPTX
Maven TestNg frame work (1) (1)
PPTX
varun JENKINS.pptx
PDF
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
PPTX
Introduce anypoint studio
PDF
Web works hol
PDF
How to Install and Configure Jenkins on Centos 7
PPTX
Django simplified : by weever mbakaya
PDF
How to Migrate IIS Website to Another Server.pdf
PPTX
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
PDF
Jenkins-Resource un documennt ingénierie.pdf
PPTX
Servlet running steps.pptx Advance Java unit2
PDF
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
PPTX
18CSC311J WEB DESIGN AND DEVELOPMENT UNIT-4
PDF
Java microservicesspringbootcasestudy2
PDF
Servlet Demo (2).pptx
Jenkins.pptx
Selenium Training in Chennai
Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)
varun JENKINS.pptx
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
Introduce anypoint studio
Web works hol
How to Install and Configure Jenkins on Centos 7
Django simplified : by weever mbakaya
How to Migrate IIS Website to Another Server.pdf
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
Jenkins-Resource un documennt ingénierie.pdf
Servlet running steps.pptx Advance Java unit2
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
18CSC311J WEB DESIGN AND DEVELOPMENT UNIT-4
Java microservicesspringbootcasestudy2
Ad

More from netdbncku (11)

PDF
Continuous integration
PDF
20121213 qa introduction smileryang
PDF
20121213 foundation of software development 2 2-ktchuang
PPTX
Software development lifecycle_release_management
PDF
2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su
PDF
Intoduction of programming contest
PDF
Foundation of software development 2
PDF
Tutorial of eclipse
PDF
Foundation of software development 1
PDF
3. java basics
PDF
2. java introduction
Continuous integration
20121213 qa introduction smileryang
20121213 foundation of software development 2 2-ktchuang
Software development lifecycle_release_management
2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su
Intoduction of programming contest
Foundation of software development 2
Tutorial of eclipse
Foundation of software development 1
3. java basics
2. java introduction

Jenkins hand in hand

  • 1. Continuous Integration Tool - Jenkins 主講者 : 李承峻 指導教授 : 莊坤達 教授
  • 2. Environment • Available OS – Unix/Linux、Windows • Requirement – Before running Jenkins, minimally you need to have JRE 1.5 or later
  • 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. Operate Step By Step - Azure • Step2. key in the free serial number and any other information to complete the applying
  • 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. 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. Operate Step By Step - Azure • Step5. Congratulation, you can connect to your VM
  • 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. 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. 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 state Step1. click to open Server Manager
  • 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. Operate Step By Step - Jenkins • Step8. check and install the plugin you need Step1. click Manage Jenkins Step2. click Manage Plugins
  • 13. Operate Step By Step - Jenkins – Check whether Ant, Git, and Email plugins has been installed
  • 14. Operate Step By Step - Jenkins • Step9. install the software in your OS – Git - http://git-scm.com/ – Ant - http://ant.apache.org/
  • 15. Operate Step By Step - Jenkins • Step10. go to “configure system” ,set path for git & ant, and e-mail type
  • 16. Operate Step By Step – Set Project • Step11. Create a new job Step1. click Step2. input job name “New Job” Step3. select “build a free-style software project
  • 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. Operate Step By Step – Set Project Set build triggers for starting the build
  • 19. Operate Step By Step – Set Project • Step13. When you complete all configuration, you can start to (auto)build your project Step1. click “build now” Step2. when finishing build, you can click for checking the report
  • 20. Operate Step By Step – Set Project • Step14. review the building report
  • 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. 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/