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

name of the speaker karan kural co speaker deepshikha
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

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

slide-2
SLIDE 2

GitHub Pull Request Builder

Plugin for Jenkins

slide-3
SLIDE 3

Tools We will going to use:

slide-4
SLIDE 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.

slide-5
SLIDE 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.

slide-6
SLIDE 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.

slide-7
SLIDE 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.

slide-8
SLIDE 8

Ticket 1 Ticket 1 Ticket 1 Ticket 1 demo. com demo. com demo. com demo. com dev.de mo.com qa.demo .com www.demo .com

Dev workflow within team

slide-9
SLIDE 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.

slide-10
SLIDE 10

Steps to Set-Up

slide-11
SLIDE 11

World Conference Next Generation Testing 2015

Configure Jenkins PR plugin

slide-12
SLIDE 12
  • 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.

Configure Jenkins Job

slide-13
SLIDE 13

Jenkins Git SCM Management

slide-14
SLIDE 14

Github Pull Request

slide-15
SLIDE 15

Checks on github from jenkins

slide-16
SLIDE 16

World Conference Next Generation Testing 2015

slide-17
SLIDE 17

How does GitHub-Jenkins work?

Push feature branch by developer New Pull Request Run Job functional/Unit Tests

Devs/QAs GitHub Jenkins

Build Complete Update build status to PR

Send Build notification i.e., github checks review only if build is green

Notify PASSE D FAILED

Review PR MERGED

slide-18
SLIDE 18

World Conference Next Generation Testing 2015

slide-19
SLIDE 19
  • https://jenkins.io/download
  • https://git-scm.com/downloads
  • https://github.com/jenkinsci/ghprb-plugin

Reference Links

slide-20
SLIDE 20

World Conference Next Generation Testing 2015

THANK YOU

Speakers Name:

Karan Kural, Deepshikha Singh Email ID: karankural@gmail.com, deepshikha.singh@srijan.net