With the upcoming 15.2 release we're announcing some new API endpoints that will make integrating with GoCD with GitHub easier and fun.

In this blog we will show you how you can integrate GoCD with GitHub using a few plugins for profit and fun.

Login using the GitHub OAuth Plugin

This plugin allows you to login, search and add existing github users to GoCD.

Login Page with GitHub icon
Login Page with GitHub icon
Search and Add User
Search and Add User

Build pull requests with GitHub Pull Request Poller & GitHub Status Notifier

The combination of these plugins will help you configure GoCD such that any pull-requests that are submitted will automatically be built, and their statuses updated on the pull request on GitHub.

GitHub PR page gets updated
GitHub PR page gets updated
GitHub PR listing page gets updated
GitHub PR listing page gets updated

GitHub Issues Integration with Custom Project Management Setup

Any commit messages that contain references to issues or pull requests using the popular means to mention issue (#42) can is something that GoCD already understands.

To configure this, edit the pipeline material and setup a pattern and a link under "Project Management" tab.

GitHub Issue Tracker Integration
GitHub Issue Tracker Integration

Any commit messages with issue numbers will be linked to the correct GitHub issues:

Comment with GitHub issue link
Comment with GitHub issue link (build cause pop-up)

You can also compare pipelines and get the release notes or changelog straight out of GoCD.

Compare pipeline page shows comment with GitHub issue link
Comment with GitHub issue link (compare pipeline page)

If you think GoCD can provide more integrations to GitHub or provide similar integrations with other tools/services please do leave a comment or ask on the mailing list.