https://github.com/nicklaswallgren/jenkins-dockerized
Dockerized Jenkins environment
https://github.com/nicklaswallgren/jenkins-dockerized
docker docker-compose jenkins
Last synced: about 2 months ago
JSON representation
Dockerized Jenkins environment
- Host: GitHub
- URL: https://github.com/nicklaswallgren/jenkins-dockerized
- Owner: NicklasWallgren
- Created: 2018-01-02T14:16:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-03T13:48:52.000Z (over 8 years ago)
- Last Synced: 2025-01-21T08:08:42.422Z (over 1 year ago)
- Topics: docker, docker-compose, jenkins
- Language: Makefile
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jenkins Dockerized
> Dockerized Jenkins.
[Jenkins](https://github.com/jenkinsci/docker) and
[Docker](https://www.docker.com/)
## Quick start
**Make sure you have Docker version >= 17.04.0**
```bash
# clone our repo
git clone https://github.com/NicklasWallgren/jenkins-dockerized.git jenkins
```
```bash
# Change directory
cd jenkins/
```
```bash
# Start the Jenkins instance.
make
```
## Environment variables
```bash
# The default interface port
WEB_INTERFACE_PORT=8080
# The default communication port
COMMUNICATION_PORT=5000
# The default Jenkins API port
API_PORT=50000
# The default plugins
JENKINS_PLUGINS=ansicolor xunit warnings workflow-aggregator cloverphp checkstyle docker-workflow ssh ssh-slaves git credentials-binding pipeline-utility-steps workflow-aggregator timestamper jobConfigHistory pragprog mask-passwords lockable-resources
# The volume directory
DATA_DIRECTORY=./data
```
## Commands
### Start Jenkins
```bash
make
```
### Stop Jenkins
```bash
make halt
```
### Access CLI
```bash
# Open a bash prompt
make bash
```
### Check status
```bash
make status
```
### Open the interface
```bash
make open-browser
```
### Install Jenkins plugin
```bash
make install-plugin