Skip to content

trungisme/jenkins-and-datadog-with-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forks Stargazers Licence


Logo Logo Logo

Jenkins with Datadog using Docker Compose

An example of how to integrate Datadog with Jenkins using Docker Compose

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Acknowledgements

About The Project

Jenkins, Datadog and Docker are three great products - but have you ever tried to use them all in one project?

Here's why:

  • Your time should be focused on creating something amazing. This repository shows a basic setup to get you started quicker and faster!
  • You shouldn't be re-inventing the wheel. Use your time to improve on what other people have already created!
  • You can use this repository as a base to monitor other products with Datadog as well!

So I have created this repository to help those who need a helping-hand or get moving quicker!

Built With

Getting Started

This is an example of how you may start setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

  • Install WSL2 if you're using Windows. Not required for Mac or Linux.
  • Install Docker Desktop or the Linux equivalent. Keep in mind that this repository demonstrates the a working Windows example.

Installation

  1. Get a free trial API Key at https://www.datadoghq.com/
  2. Clone the repo
    git clone https://github.com/trungisme/jenkins-and-datadog-with-docker.git
  3. Create a file with the API Key
    echo "<REPLACE_WITH_DATADOG_API_KEY>" > .env
  4. Bring up your Docker network
    docker compose up -d
  5. Wait for Jenkins and Datadog to come up.
  6. Navigate to Jenkins in the browser via http://localhost:8080
  7. In the Datadog app, navigate to Integrations and search for Jenkins and install it to Datadog.
  8. Now Jenkins and Datadog should be connected!

Usage

Now you can create a job and run it and the build results should appear within Datadog. You can navigate to Dashboards > Dashboard List > Jenkins - Overview for an example dashboard.

Happy Monitoring!

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published