Skip to content

hussainweb/gitlab-jenkins-sonarqube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

501866a · Mar 5, 2019

History

4 Commits
Dec 26, 2018
Dec 26, 2018
Mar 5, 2019

Repository files navigation

gitlab-jenkins-sonarqube

A working docker-compose of a CI system with GitLab, Jenkins, and SonarQube.

Instructions

Starting the instance

Clone this repository (or just download the files). Go to the repository directory and run:

docker-compose up -d

These are the URLs for various services:

Of course, if these ports are taken up by something else on your machine, the command will fail. In that case, either free up that port or change the port in docker-compose.yml file.

As Jenkins installation requires a secret key which is sent to the logs, use docker logs to get the key. Run this command:

docker logs gitlab_jenkins_1 | less

Shutting down

Run this command:

docker-compose down

The data is persisted through various volumes. This means you can rerun docker-compose up -d to get back the system as it was before you shut it down. If you want to remove all the volumes as well, run:

docker-compose down -v

About

A working docker-compose of a CI system with GitLab, Jenkins, and SonarQube

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published