lunes, 26 de octubre de 2015

Selenium and Junit integrate to Jenkins

Jenkins
Jenkins is an award-winning, cross-platform, continuous integration and continuous delivery application that increases our productivity. Jenkins is used to build and test our software projects continuously making it easier for developers to integrate changes to the project and making it easier for users to obtain  a fresh build.
Requirement
- install Java and set up environment variables
- install Ant and set up environment variables
-Download Jenkins from this page http://jenkins-ci.org/

GitHub
It offers all of the distributed revision control and source code management functionality of git as well adding its own feature.

My gitHub repository is this https://github.com/MarisolChambiArrosquipa/AntProjects, the code source is in the repository.The code source is the previous post http://marisolchambiarrosquipa.blogspot.com/2015/10/ant-iii-run-junit-with-selenium.html



It is too easy install it, select option next







It will show this page
Install plugins
install Junit plugins


we also need to install gitHub plugins



Manage Jenkins

Configure global setting and path as java, ant, maven,etc.











Create a new item

It is the project name  in GitHub












Built the project, we should select the option "build Now"


Select the Console output to see the detail of the execution




The console shows this






No hay comentarios:

Publicar un comentario