Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Gitlab Cookbook

You're reading from   Gitlab Cookbook Over 60 hands-on recipes to efficiently self-host your own Git repository using GitLab

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781783986842
Length 172 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Jeroen van Baarsen Jeroen van Baarsen
Author Profile Icon Jeroen van Baarsen
Jeroen van Baarsen
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Introduction and Installation 2. Explaining Git FREE CHAPTER 3. Managing Users, Groups, and Permissions 4. Issue Tracker and Wiki 5. Maintaining Your GitLab Instance 6. Webhooks, External Services, and the API 7. Using LDAP and OmniAuth Providers 8. GitLab CI A. Tips and Tricks Index

Working with external services

GitLab has built-in support for a variety of external services, so you can integrate GitLab with your favorite chat service, such as Slack or Campfire, or project management tools, such as Assembla or Pivotal Tracker. In this recipe, we will take a look at how you can set up GitLab to send out an e-mail when someone pushes a commit.

How to do it…

In the following steps, we will set up e-mails on a push:

  1. Log in to your GitLab instance as a project owner.
  2. Click on the project for which you want to set up the service. In this example, I'll be using the super-git project that was created in a previous chapter.
  3. Click on Settings.
    How to do it…
  4. Click on Services in the left-hand side menu.
  5. First, we're going to set up the e-mail on push notifications. Click on Email on Push.
  6. Check the Active checkbox and fill in the e-mail addresses you want GitLab to send mails to.
    How to do it…
  7. Click on Save.
  8. After you've saved the service, you get a new Test settings button.
  9. When you go to your...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime