Add example bash script for Jenkins setup using docker
This commit is contained in:
parent
dd0320b4dd
commit
81ab31d372
|
@ -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"
|
Loading…
Reference in New Issue