name of the speaker karan kural co speaker deepshikha
play

Name of the Speaker : Karan kural Co-Speaker : Deepshikha Singh - PowerPoint PPT Presentation

Name of the Speaker : Karan kural Co-Speaker : Deepshikha Singh Company Name : Srijan Technologies Pvt. Ltd. Place: New Delhi. GitHub Pull Request Builder Plugin for Jenkins Tools We will going to use: What is Jenkins? Jenkins is an


  1. Name of the Speaker : Karan kural Co-Speaker : Deepshikha Singh Company Name : Srijan Technologies Pvt. Ltd. Place: New Delhi.

  2. GitHub Pull Request Builder Plugin for Jenkins

  3. Tools We will going to use:

  4. What is Jenkins? Jenkins is an open-source continuous integration software tool written in the Java programming language for testing and reporting on isolated changes in a larger code base in real time.

  5. What is GitHub? GitHub is a web-based Git or version control repository and Internet hosting service. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features.

  6. What is Github PR Builder? Github Pull Request builder is a Jenkins plugin that shows checks on github level whenever a developer's PR is raised on GitHub ฀ Test results are published into PR status on GitHub. ฀ Test Trigger phrases for running specific jobs ฀ Retry jobs with a phrase, in case of s setup with a job.

  7. Before you start ฀ Download Git ฀ for windows/linux/Mac ฀ Download and setup jenkins on local system. ฀ Install GitHub pull request plugin ฀ Manage jenkins>Manage Plugins>github Pull Request builder.

  8. Dev workflow within team demo. Ticket 1 com demo. Ticket 1 com qa.demo dev.de .com mo.com demo. Ticket 1 com demo. www.demo Ticket 1 com .com

  9. Why GitHub Pull Request Builder? This Jenkins plugin plays a very vital role any job( job consisting of our functional, end-to-end test scripts etc ) whenever any PR is raised to any branch and this will show us checks on Github whether the job would be passed, failed or running. This makes our project less in-stable and minimise the risk of breaking any thing on production.

  10. Steps to Set-Up

  11. World Conference Next Generation Testing 2015 Configure Jenkins PR plugin

  12. Configure Jenkins Job ● Create a new Job. ● Add the URL of your GitHub project to the GitHub Project. ● Select Git SCM. ● Add your GitHub Repository URL. ● Under Advanced, set Name to origin ○ ○ refspec to +refs/pull/*:refs/remotes/origin/pr/* ● In Branch Specifier, enter ${sha1} instead of the default */master.

  13. Jenkins Git SCM Management

  14. Github Pull Request

  15. Checks on github from jenkins

  16. World Conference Next Generation Testing 2015

  17. How does GitHub-Jenkins work? Devs/QAs GitHub Jenkins Push feature branch New Pull Notify by developer Request Run Job functional/Unit FAILED Tests review only if build is green Update build Build PASSE Review status to PR Complete D Send Build notification i.e., github checks PR MERGED

  18. World Conference Next Generation Testing 2015

  19. Reference Links ● https://jenkins.io/download ● https://git-scm.com/downloads ● https://github.com/jenkinsci/ghprb-plugin

  20. World Conference Next Generation Testing 2015 THANK YOU Speakers Name: Karan Kural, Deepshikha Singh Email ID: karankural@gmail.com, deepshikha.singh@srijan.net

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend