Add example bash script for Jenkins setup using docker

This commit is contained in:
Oscar Salvador Morillo Victoria 2016-03-24 01:18:58 +01:00
parent dd0320b4dd
commit 81ab31d372
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -e
# ===============================================================
# Launch Jenkins
# ===============================================================
docker pull jenkins:1.642.2
docker run --name jenkins-1.642.2 -d -p 8080:8080 -p 50000:50000 -v /src/docker/jenkins:/var/jenkins jenkins:1.642.2
echo "Point your browser to http://localhost:8080 to access Jenkins webinterface"