Join the Jenkins User Conference in San Francisco on September 30th!

Github pull request builder plugin

Skip to end of metadata
Go to start of metadata

This plugin builds pull requests in github and report results.

Plugin Information

Plugin ID ghprb Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
1.2
Sep 11, 2012
1.476
github (version:1.4)
git (version:1.1.17)
github-api (version:1.28)
Source Code
Issue Tracking
Maintainer(s)
GitHub
Open Issues
Honza Br��zdil (id: janinko)

When new pull request occures in project and author of the pull request isn't whitelisted, builder will ask "Can one of the admins verify this patch?" and one of the admins must add the author to whitelist with comment "this is ok to test".

If author of the pull request is whitelisted adding new pull request or new commit to existing pull request will start new rebuild.

New rebuild can be started also with comment "retest this please".

Installation:

install plugin
go to administration -> system setting -> Github pull requests builder section
set your bot github username and password
add github usernames of admins (will be used for all jobs)
you can modify phrase for adding users to whitelist (advanced)
you can modify phrase for retesting (advanced)
you can specify crontab line click (advanced)
save

Creating job:

create new job
add github url to "GitHub project" field
select Git SCM
add your github "Repository URL"
into (advanced) "refspec" enter:

+refs/pull/*:refs/remotes/origin/pr/*

into "Branch Specifier" enter:

${sha1}

check "Github pull requests builder"
you can edit admins for this specific job
you can change crontab line for this specific job (advanced)
you can edit whitelisted users (advanced)
save

You are done

Changelog

1.2

Use commit status api instead of comments for reporting results.

Labels

Edit
plugin-trigger plugin-trigger Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.