Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lec 23 Jenkins - 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 22 WebDriver 11/11/2013 1.

Similar presentations


Presentation on theme: "Lec 23 Jenkins - 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 22 WebDriver 11/11/2013 1."— Presentation transcript:

1 Lec 23 Jenkins - 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 22 WebDriver 11/11/2013 1

2 Lec 23 Jenkins - 2 CSCE 747 Fall 2013 Last Time  WebDriver again Today  More WebDriver

3 Lec 23 Jenkins - 3 CSCE 747 Fall 2013 References  https://wiki.jenkins- ci.org/display/JENKINS/Installing+Jenkins+as +a+Windows+service https://wiki.jenkins- ci.org/display/JENKINS/Installing+Jenkins+as +a+Windows+service  http://jenkins-ci.org/ http://jenkins-ci.org/.seleniumhq.org/docs/04_webdriver_advanced.jsp

4 Lec 23 Jenkins - 4 CSCE 747 Fall 2013 http://jenkins-ci.org/

5 Lec 23 Jenkins - 5 CSCE 747 Fall 2013 What is Jenkins?  Make/ant/maven are:  Jenkins is a server  What is a server  continuously running server  monitoring projects looking for changes  when found rebuild the project  write reports

6 Lec 23 Jenkins - 6 CSCE 747 Fall 2013 What is Jenkins?  Jenkins is an award-winning application that monitors executions of repeated jobs, such as building a software project or jobs run by cron.award-winning  Among those things, current Jenkins focuses on the following two jobs:  Building/testing software projects continuously,  Monitoring executions of externally-run jobs http://jenkins-ci.org/

7 Lec 23 Jenkins - 7 CSCE 747 Fall 2013 Building/testing software projects continuously  Building/testing software projects continuously, just like CruiseControl or DamageControl.  In a nutshell, Jenkins provides an easy-to-use so- called continuous integration system,  making it easier for developers to integrate changes to the project, and  making it easier for users to obtain a fresh build.  The automated, continuous build increases the productivity. http://jenkins-ci.org/

8 Lec 23 Jenkins - 8 CSCE 747 Fall 2013 Monitoring executions  Monitoring executions of externally-run jobs, such as  cron jobs and  procmail jobs,  even those that are run on a remote machine.  For example, with cron, all you receive is regular e-mails that capture the output, and it is up to you to look at them diligently and notice when it broke. Jenkins keeps those outputs and makes it easy for you to notice when something is wrong. http://jenkins-ci.org/

9 Lec 23 Jenkins - 9 CSCE 747 Fall 2013 Installing Jenkins  What is a.war?  is a JAR file used to distribute a collection of:JAR  JavaServer Pages,JavaServer Pages  Java Servlets, Java Servlets  Java classes, Javaclasses  XML files, tag libraries, static web pages (HTML and related files) and other resources that together constitute a web application. XMLHTMLweb application http://jenkins-ci.org/

10 Lec 23 Jenkins - 10 CSCE 747 Fall 2013 http://jenkins-ci.org/

11 Lec 23 Jenkins - 11 CSCE 747 Fall 2013 http://jenkins-ci.org/

12 Lec 23 Jenkins - 12 CSCE 747 Fall 2013 http://jenkins-ci.org/

13 Lec 23 Jenkins - 13 CSCE 747 Fall 2013 Features of Jenkins  Jenkins offers the following features:  Easy installation:  Just java -jar jenkins.war, or  deploy it in a servlet container.  No additional install, no database. http://jenkins-ci.org/

14 Lec 23 Jenkins - 14 CSCE 747 Fall 2013 Features: Easy configuration  Jenkins can be configured entirely from its friendly web GUI with extensive on-the-fly error checks and inline help.  There's no need to tweak XML manually anymore, although if you'd like to do so, you can do that, too. http://jenkins-ci.org/

15 Lec 23 Jenkins - 15 CSCE 747 Fall 2013 Features: Change set support  Jenkins can generate a list of changes made into the build from Subversion/CVS.  This is also done in a fairly efficient fashion, to reduce the load on the repository. http://jenkins-ci.org/

16 Lec 23 Jenkins - 16 CSCE 747 Fall 2013 Features: Permanent links  Jenkins gives you clean readable URLs for most of its pages, including some permalinks like "latest build"/"latest successful build", so that they can be easily linked from elsewhere. http://jenkins-ci.org/

17 Lec 23 Jenkins - 17 CSCE 747 Fall 2013 Features: RSS/E-mail/IM Integration  Monitor build results by RSS or e-mail to get real-time notifications on failures. After-the-fact tagging:  Builds can be tagged long after builds are completed. http://jenkins-ci.org/

18 Lec 23 Jenkins - 18 CSCE 747 Fall 2013 Features: JUnit/TestNG test reporting  JUnit test reports can be:  tabulated,  summarized, and  displayed with history information, such as when it started breaking, etc.  a History trend is plotted into a graph. http://jenkins-ci.org/

19 Lec 23 Jenkins - 19 CSCE 747 Fall 2013 Features: Distributed builds  Jenkins can distribute build/test loads to multiple computers.  This lets you get the most out of those idle workstations sitting beneath developers' desks. http://jenkins-ci.org/

20 Lec 23 Jenkins - 20 CSCE 747 Fall 2013 Features: File fingerprinting  Jenkins can keep track of which build produced which jars, and  which build is using which version of jars  This works even for jars that are produced outside Jenkins, and is ideal for projects to track dependency. http://jenkins-ci.org/

21 Lec 23 Jenkins - 21 CSCE 747 Fall 2013 Features: Plugin Support  Jenkins can be extended via 3rd party plugins.  You can write plugins to make Jenkins support tools/processes that your team uses. http://jenkins-ci.org/

22 Lec 23 Jenkins - 22 CSCE 747 Fall 2013 Jenkins Best Practices  Continuous Integration with automated test execution has seen broad adoption in recent years.  The ideas behind Continuous Integration have changed how companies look at:  Build Management,  Release Management,  Deployment Automation, and  Test Orchestration. http://jenkins-ci.org/

23 Lec 23 Jenkins - 23 CSCE 747 Fall 2013 Jenkins Best Practices  Jenkins - A Continuous Integration Solution to provide executives, business managers, software developers and architects a better sense of the development progress and code quality of projects throughout the development lifecycle.  Jenkins Best Practices Jenkins Best Practices  https://wiki.jenkins- ci.org/display/JENKINS/Jenkins+Best+Practices http://jenkins-ci.org/

24 Lec 23 Jenkins - 24 CSCE 747 Fall 2013 Introductory Articles  Note that many links below refer to Hudson, the original name of Jenkins.  http://www.slideshare.net/carlo.bonamico/continuo us-integration-with-hudson/ http://www.slideshare.net/carlo.bonamico/continuo us-integration-with-hudson/  Kohsuke presenting Hudson in FOSDEM 2008 (video) Kohsuke presenting Hudson in FOSDEM 2008  Kohsuke presenting Hudson in JavaZone 2009 (video) Kohsuke presenting Hudson in JavaZone 2009  Continuous Integration in the Cloud with Hudson JavaOne 2009 presentation by Kohsuke (English) Continuous Integration in the Cloud with Hudson  Doing More With Hudson JavaOne 2010 presentation by Kohsuke Doing More With Hudson  Hudson presentation at San Francisco JUG by Kohsuke (English, video and slides) Hudson presentation at San Francisco JUG by Kohsuke  French, Spanish, Simplified Chinese, Czech http://jenkins-ci.org/

25 Lec 23 Jenkins - 25 CSCE 747 Fall 2013 Using Jenkins  Installing Jenkins Installing Jenkins  Starting and Accessing Jenkins Starting and Accessing Jenkins  Administering Jenkins Administering Jenkins  Building a software project Building a software project  Building a maven2 project Building a maven2 project  Building a matrix project Building a matrix project  Building an Android app and test project Building an Android app and test project  Monitoring external jobs Monitoring external jobs  Distributed builds Distributed builds  Features controlled by system properties ("hidden" & experimental features) Features controlled by system properties  File fingerprint tracking File fingerprint tracking  Using Jenkins plugins Using Jenkins plugins  Quicker navigation around Jenkins pages Quicker navigation around Jenkins pages  Jenkins Script Console Jenkins Script Console  Command-line interface Command-line interface  SSH access SSH access  Securing Jenkins Securing Jenkins  Remote access API Remote access API  Change time zone Change time zone  Splitting a big job into smaller jobs Splitting a big job into smaller jobs  Using Jenkins for non-Java projects Using Jenkins for non-Java projects  in particular for.NET in particular for.NET  Drupal Development Drupal Development  Perl Development Perl Development  Using other shells (for ex. Python) Using other shells (for ex. Python)  Post-initialization script Post-initialization script  Boot failure hook Boot failure hook  Collecting more logs on what Jenkins is doing Collecting more logs on what Jenkins is doing  Terminology Terminology  Jenkins/Hudson con Ant, JUnit, Emma y Sonar. (Spanish) Jenkins/Hudson con Ant, JUnit, Emma y Sonar. (Spanish)  The 'People' listing The 'People' listing  Removing and disabling plugins Removing and disabling plugins https://wiki.jenkins- ci.org/display/JENKINS/Use+Jenkins

26 Lec 23 Jenkins - 26 CSCE 747 Fall 2013  Tool Integration  Programming Language specific topics  Running Jenkins as a daemon  Extreme Feedback  Issues http://jenkins-ci.org/

27 Lec 23 Jenkins - 27 CSCE 747 Fall 2013 http://jenkins-ci.org/

28 Lec 23 Jenkins - 28 CSCE 747 Fall 2013 http://jenkins-ci.org/


Download ppt "Lec 23 Jenkins - 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 22 WebDriver 11/11/2013 1."

Similar presentations


Ads by Google