SlideShare a Scribd company logo
1 of 22
Download to read offline
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

What's hot

Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
Anatomy of a Continuous Integration and Delivery (CICD) PipelineAnatomy of a Continuous Integration and Delivery (CICD) Pipeline
Anatomy of a Continuous Integration and Delivery (CICD) PipelineRobert McDermott
 
Introduction to jenkins for the net developer
Introduction to jenkins for the net developerIntroduction to jenkins for the net developer
Introduction to jenkins for the net developerAbe Diaz
 
Integration with dropbox
Integration with dropboxIntegration with dropbox
Integration with dropboxSon Nguyen
 
Jenkins introduction
Jenkins introductionJenkins introduction
Jenkins introductionGourav Varma
 
What is jenkins
What is jenkinsWhat is jenkins
What is jenkinslinuxdady
 
Web deploy
Web deployWeb deploy
Web deploySky S
 
Selenium and Sauce Labs
Selenium and Sauce LabsSelenium and Sauce Labs
Selenium and Sauce Labshugs
 
Integrate to retrieve data microsoft azure
Integrate to retrieve data microsoft azureIntegrate to retrieve data microsoft azure
Integrate to retrieve data microsoft azureSon Nguyen
 
Deploy with maven
Deploy with mavenDeploy with maven
Deploy with mavenSon Nguyen
 
Deploying and Scaling Your First Cloud Application with Amazon Lightsail
Deploying and Scaling Your First Cloud Application with Amazon LightsailDeploying and Scaling Your First Cloud Application with Amazon Lightsail
Deploying and Scaling Your First Cloud Application with Amazon LightsailAWS Germany
 
Dev ops: Continuous delivery and Windows Azure
Dev ops: Continuous delivery and Windows AzureDev ops: Continuous delivery and Windows Azure
Dev ops: Continuous delivery and Windows AzureIbon Landa
 
Advanced Visual Studio 2005 Tools For Office Programming And Deployment
Advanced Visual Studio 2005 Tools For Office Programming And DeploymentAdvanced Visual Studio 2005 Tools For Office Programming And Deployment
Advanced Visual Studio 2005 Tools For Office Programming And DeploymentDavid Truxall
 
Go Mac or Go Home
Go Mac or Go HomeGo Mac or Go Home
Go Mac or Go Homestranjah21
 
Bamboo Continuous Integration Server - Brief
Bamboo Continuous Integration Server - BriefBamboo Continuous Integration Server - Brief
Bamboo Continuous Integration Server - BriefEllen Feaheny
 
How to setup jenkins
How to setup jenkinsHow to setup jenkins
How to setup jenkinslinuxdady
 

What's hot (19)

Subversive install on Eclipse
Subversive install on EclipseSubversive install on Eclipse
Subversive install on Eclipse
 
Continuous integration
Continuous integrationContinuous integration
Continuous integration
 
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
Anatomy of a Continuous Integration and Delivery (CICD) PipelineAnatomy of a Continuous Integration and Delivery (CICD) Pipeline
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
 
Introduction to jenkins for the net developer
Introduction to jenkins for the net developerIntroduction to jenkins for the net developer
Introduction to jenkins for the net developer
 
Integration with dropbox
Integration with dropboxIntegration with dropbox
Integration with dropbox
 
Speed = $$$
Speed = $$$Speed = $$$
Speed = $$$
 
Jenkins introduction
Jenkins introductionJenkins introduction
Jenkins introduction
 
What is jenkins
What is jenkinsWhat is jenkins
What is jenkins
 
Web deploy
Web deployWeb deploy
Web deploy
 
Selenium and Sauce Labs
Selenium and Sauce LabsSelenium and Sauce Labs
Selenium and Sauce Labs
 
Integrate to retrieve data microsoft azure
Integrate to retrieve data microsoft azureIntegrate to retrieve data microsoft azure
Integrate to retrieve data microsoft azure
 
Deploy with maven
Deploy with mavenDeploy with maven
Deploy with maven
 
Deploying and Scaling Your First Cloud Application with Amazon Lightsail
Deploying and Scaling Your First Cloud Application with Amazon LightsailDeploying and Scaling Your First Cloud Application with Amazon Lightsail
Deploying and Scaling Your First Cloud Application with Amazon Lightsail
 
Dev ops: Continuous delivery and Windows Azure
Dev ops: Continuous delivery and Windows AzureDev ops: Continuous delivery and Windows Azure
Dev ops: Continuous delivery and Windows Azure
 
Advanced Visual Studio 2005 Tools For Office Programming And Deployment
Advanced Visual Studio 2005 Tools For Office Programming And DeploymentAdvanced Visual Studio 2005 Tools For Office Programming And Deployment
Advanced Visual Studio 2005 Tools For Office Programming And Deployment
 
Go Mac or Go Home
Go Mac or Go HomeGo Mac or Go Home
Go Mac or Go Home
 
Bamboo Continuous Integration Server - Brief
Bamboo Continuous Integration Server - BriefBamboo Continuous Integration Server - Brief
Bamboo Continuous Integration Server - Brief
 
Jenkins tutorial
Jenkins tutorialJenkins tutorial
Jenkins tutorial
 
How to setup jenkins
How to setup jenkinsHow to setup jenkins
How to setup jenkins
 

Similar to Jenkins hand in hand

Jenkins.pptx
Jenkins.pptxJenkins.pptx
Jenkins.pptxrfojdar
 
Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Gopi Raghavendra
 
Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)QA Programmer
 
varun JENKINS.pptx
varun JENKINS.pptxvarun JENKINS.pptx
varun JENKINS.pptxVgPolampalli
 
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source ToolsTYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source ToolsMichael Lihs
 
Introduce anypoint studio
Introduce anypoint studioIntroduce anypoint studio
Introduce anypoint studioSon Nguyen
 
How to Install and Configure Jenkins on Centos 7
How to Install and Configure Jenkins on Centos 7How to Install and Configure Jenkins on Centos 7
How to Install and Configure Jenkins on Centos 7AniketGoyal14
 
Django simplified : by weever mbakaya
Django simplified : by weever mbakayaDjango simplified : by weever mbakaya
Django simplified : by weever mbakayaMbakaya Kwatukha
 
How to Migrate IIS Website to Another Server.pdf
How to Migrate IIS Website to Another Server.pdfHow to Migrate IIS Website to Another Server.pdf
How to Migrate IIS Website to Another Server.pdfHost It Smart
 
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
Louisville Software Engineering Meet Up: Continuous Integration Using JenkinsLouisville Software Engineering Meet Up: Continuous Integration Using Jenkins
Louisville Software Engineering Meet Up: Continuous Integration Using JenkinsJames Strong
 
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...Postman
 
Java microservicesspringbootcasestudy2
Java microservicesspringbootcasestudy2Java microservicesspringbootcasestudy2
Java microservicesspringbootcasestudy2Subramanyam Vemala
 
Establish reliable builds and deployments with Magento
Establish reliable builds and deployments with MagentoEstablish reliable builds and deployments with Magento
Establish reliable builds and deployments with MagentoUnic
 
Jenkins_1679702972.pdf
Jenkins_1679702972.pdfJenkins_1679702972.pdf
Jenkins_1679702972.pdfMahmoudAlnmr1
 

Similar to Jenkins hand in hand (20)

Servlet Demo (2).pptx
Servlet Demo (2).pptxServlet Demo (2).pptx
Servlet Demo (2).pptx
 
Jenkins.pptx
Jenkins.pptxJenkins.pptx
Jenkins.pptx
 
Selenium Training in Chennai
Selenium Training in ChennaiSelenium Training in Chennai
Selenium Training in Chennai
 
Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)
 
Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)
 
varun JENKINS.pptx
varun JENKINS.pptxvarun JENKINS.pptx
varun JENKINS.pptx
 
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source ToolsTYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
 
Introduce anypoint studio
Introduce anypoint studioIntroduce anypoint studio
Introduce anypoint studio
 
Web works hol
Web works holWeb works hol
Web works hol
 
How to Install and Configure Jenkins on Centos 7
How to Install and Configure Jenkins on Centos 7How to Install and Configure Jenkins on Centos 7
How to Install and Configure Jenkins on Centos 7
 
Django simplified : by weever mbakaya
Django simplified : by weever mbakayaDjango simplified : by weever mbakaya
Django simplified : by weever mbakaya
 
How to Migrate IIS Website to Another Server.pdf
How to Migrate IIS Website to Another Server.pdfHow to Migrate IIS Website to Another Server.pdf
How to Migrate IIS Website to Another Server.pdf
 
Selenium
SeleniumSelenium
Selenium
 
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
Louisville Software Engineering Meet Up: Continuous Integration Using JenkinsLouisville Software Engineering Meet Up: Continuous Integration Using Jenkins
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
 
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
 
Java microservicesspringbootcasestudy2
Java microservicesspringbootcasestudy2Java microservicesspringbootcasestudy2
Java microservicesspringbootcasestudy2
 
Advanced Zen
Advanced ZenAdvanced Zen
Advanced Zen
 
Establish reliable builds and deployments with Magento
Establish reliable builds and deployments with MagentoEstablish reliable builds and deployments with Magento
Establish reliable builds and deployments with Magento
 
Jenkins_1679702972.pdf
Jenkins_1679702972.pdfJenkins_1679702972.pdf
Jenkins_1679702972.pdf
 
jenkins.pdf
jenkins.pdfjenkins.pdf
jenkins.pdf
 

More from netdbncku

Continuous integration
Continuous integrationContinuous integration
Continuous integrationnetdbncku
 
20121213 qa introduction smileryang
20121213 qa introduction smileryang20121213 qa introduction smileryang
20121213 qa introduction smileryangnetdbncku
 
20121213 foundation of software development 2 2-ktchuang
20121213 foundation of software development 2 2-ktchuang20121213 foundation of software development 2 2-ktchuang
20121213 foundation of software development 2 2-ktchuangnetdbncku
 
Software development lifecycle_release_management
Software development lifecycle_release_managementSoftware development lifecycle_release_management
Software development lifecycle_release_managementnetdbncku
 
2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su
2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su
2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai sunetdbncku
 
Intoduction of programming contest
Intoduction of programming contestIntoduction of programming contest
Intoduction of programming contestnetdbncku
 
Foundation of software development 2
Foundation of software development 2Foundation of software development 2
Foundation of software development 2netdbncku
 
Tutorial of eclipse
Tutorial of eclipseTutorial of eclipse
Tutorial of eclipsenetdbncku
 
Foundation of software development 1
Foundation of software development 1Foundation of software development 1
Foundation of software development 1netdbncku
 
3. java basics
3. java basics3. java basics
3. java basicsnetdbncku
 
2. java introduction
2. java introduction2. java introduction
2. java introductionnetdbncku
 

More from netdbncku (11)

Continuous integration
Continuous integrationContinuous integration
Continuous integration
 
20121213 qa introduction smileryang
20121213 qa introduction smileryang20121213 qa introduction smileryang
20121213 qa introduction smileryang
 
20121213 foundation of software development 2 2-ktchuang
20121213 foundation of software development 2 2-ktchuang20121213 foundation of software development 2 2-ktchuang
20121213 foundation of software development 2 2-ktchuang
 
Software development lifecycle_release_management
Software development lifecycle_release_managementSoftware development lifecycle_release_management
Software development lifecycle_release_management
 
2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su
2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su
2012 11-16 cloud practices-in_trend_micro_2012 - chung-tsai su
 
Intoduction of programming contest
Intoduction of programming contestIntoduction of programming contest
Intoduction of programming contest
 
Foundation of software development 2
Foundation of software development 2Foundation of software development 2
Foundation of software development 2
 
Tutorial of eclipse
Tutorial of eclipseTutorial of eclipse
Tutorial of eclipse
 
Foundation of software development 1
Foundation of software development 1Foundation of software development 1
Foundation of software development 1
 
3. java basics
3. java basics3. java basics
3. java basics
 
2. java introduction
2. java introduction2. java introduction
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/